Merge pull request #18 from lepoarro/patch-1

Update entrypoint.py
This commit is contained in:
simonmicro 2021-10-22 20:11:53 +02:00 committed by GitHub
commit ad732685de
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)