get database path from env
This commit is contained in:
والد
364d56f5d4
کامیت
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)
|
||||||
|
بارگذاری…
x
مرجع در شماره جدید
Block a user