Make config production ready
This commit is contained in:
parent
3025e83b66
commit
8b0ea1fec3
@ -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')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user