get database path from env
Dieser Commit ist enthalten in:
Ursprung
364d56f5d4
Commit
ff77d11856
@ -1 +1,5 @@
|
||||
DBPATH="/home/db/easyindex.sqlite"
|
||||
import os
|
||||
DBPATH=os.getenv("EASYINDEX_PATH")
|
||||
if DBPATH == None or DBPATH == "":
|
||||
print("MIssing env var")
|
||||
exit(1)
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren