diff --git a/ref-test/app/config.py b/ref-test/app/config.py index 1f69fc5..b70db97 100644 --- a/ref-test/app/config.py +++ b/ref-test/app/config.py @@ -1,6 +1,10 @@ import os from pathlib import Path +if not os.getenv('DATA'): + from dotenv import load_dotenv + load_dotenv('../.env') + class Config(object): APP_HOST = '0.0.0.0' DATA = os.getenv('DATA')