From d8044a7c769d33efd3e4c1bcd46d24383ac75b60 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'