Skip to content
Snippets Groups Projects
Commit 9c24a5ba authored by Julian Rother's avatar Julian Rother
Browse files

Fix config var name in db code

parent 0faf4fbd
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ if config['DB_ENGINE'] == 'sqlite':
if config['SQLITE_INIT_SCHEMA']:
cur.executescript(open(config['DB_SCHEMA']).read())
if config['SQLITE_INIT_DATA'] and created:
cur.executescript(open(config['db_data']).read())
cur.executescript(open(config['DB_DATA']).read())
db.commit()
db.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment