mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-10-11 01:29:22 +08:00
Corrected path back to current work directory and formatted log message
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user