From 373053d78769504f54e4f90f7972cf239aeec3e3 Mon Sep 17 00:00:00 2001 From: nonchris Date: Fri, 30 Jul 2021 00:09:40 +0200 Subject: [PATCH] Logging setup handles print of warnings - remove redundant print --- src/environment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/environment.py b/src/environment.py index 07d49f6..46c579a 100644 --- a/src/environment.py +++ b/src/environment.py @@ -17,7 +17,6 @@ def load_env(key: str, default: str) -> str: value = os.getenv(key) if value: return value - print(f"Can't load env-variable for: '{key}' - falling back to DEFAULT {key}='{default}'") logger.warning(f"Can't load env-variable for: '{key}' - falling back to DEFAULT {key}='{default}'") return default