mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-17 16:45:15 -04:00
Fix entrypoint
This commit is contained in:
parent
fba768bd51
commit
b2b9cb137e
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ 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(os.environ.get('PWD'), 'db', 'pykms_database.db')
|
dbPath = os.path.join('/home/py-kms', 'db', 'pykms_database.db')
|
||||||
|
print(dbPath)
|
||||||
if enableSQLITE:
|
if enableSQLITE:
|
||||||
command.append('-s')
|
command.append('-s')
|
||||||
command.append(dbPath)
|
command.append(dbPath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue