From 39acebb3a68050fc9ea8833709bb6050d6d5e5bf Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Mon, 20 Jun 2022 12:27:32 +0100 Subject: [PATCH] Make config production ready --- ref-test/app/config.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ref-test/app/config.py b/ref-test/app/config.py index 48aa4f1..c965410 100644 --- a/ref-test/app/config.py +++ b/ref-test/app/config.py @@ -1,9 +1,7 @@ import os from pathlib import Path - -if not os.getenv('DATA'): - from dotenv import load_dotenv - load_dotenv('../.env') +from dotenv import load_dotenv +load_dotenv('../.env') class Config(object): APP_HOST = '0.0.0.0'