Update entrypoint.py

This commit is contained in:
lepoarro 2021-10-22 14:59:53 +03:00 committed by GitHub
parent 5df5487604
commit 677916a3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,8 @@ for (arg, env) in argumentVariableMapping.items():
enableSQLITE = os.path.isfile(sqliteWebPath) and os.environ.get('SQLITE', 'false').lower() == 'true'
if enableSQLITE:
print('Storing database file to ' + dbPath)
dbPath = os.path.join('db', 'pykms_database.db')
print('Storing database file to ' + dbPath)
os.makedirs('db', exist_ok=True)
command.append('-s')
command.append(dbPath)