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

Fixed issue introduced by 5d160889

parent e8802537
Branches
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment