mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-17 08:35:10 -04:00
Corrected path back to current work directory and formatted log message
This commit is contained in:
parent
0ac6d7a138
commit
74850b8b63
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ for (arg, env) in argumentVariableMapping.items():
|
||||||
|
|
||||||
enableSQLITE = os.environ.get('SQLITE').lower() == 'true'
|
enableSQLITE = os.environ.get('SQLITE').lower() == 'true'
|
||||||
os.makedirs('db', exist_ok=True)
|
os.makedirs('db', exist_ok=True)
|
||||||
dbPath = os.path.join('/home/py-kms', 'db', 'pykms_database.db')
|
dbPath = os.path.join('db', 'pykms_database.db')
|
||||||
print(dbPath)
|
|
||||||
if enableSQLITE:
|
if enableSQLITE:
|
||||||
|
print('Storing database file to ' + dbPath)
|
||||||
command.append('-s')
|
command.append('-s')
|
||||||
command.append(dbPath)
|
command.append(dbPath)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue