Make config production ready
This commit is contained in:
1 parent
2663d5e3b7
commit
d8044a7c76
1 file changed
-2
@@ -1,7 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
if not os.getenv('DATA'):
|
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
load_dotenv('../.env')
|
load_dotenv('../.env')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user