Corrected path back to current work directory and formatted log message

This commit is contained in:
simonmicro 2021-10-15 01:31:34 +02:00 committed by GitHub
parent 0ac6d7a138
commit 74850b8b63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,9 @@ for (arg, env) in argumentVariableMapping.items():
enableSQLITE = os.environ.get('SQLITE').lower() == 'true'
os.makedirs('db', exist_ok=True)
dbPath = os.path.join('/home/py-kms', 'db', 'pykms_database.db')
print(dbPath)
dbPath = os.path.join('db', 'pykms_database.db')
if enableSQLITE:
print('Storing database file to ' + dbPath)
command.append('-s')
command.append(dbPath)