Commit 49dfffcf authored by Julian Rother's avatar Julian Rother
Browse files

Fixed issue introduced by 5d160889

parent e8802537
......@@ -24,6 +24,7 @@ if config['DB_ENGINE'] == 'sqlite':
cur = db.cursor()
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())
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