Commit 9c24a5ba authored by Julian Rother's avatar Julian Rother

Fix config var name in db code

parent 0faf4fbd
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment