From 5c2aa600ccba1ddb7623770224ed46ea1f44c614 Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Sun, 2 Apr 2023 15:20:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20f=C3=BCr=20SITE=5FNAME=20#402?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/__init__.py b/project/__init__.py index a4ac6de..80d3dbd 100644 --- a/project/__init__.py +++ b/project/__init__.py @@ -23,6 +23,7 @@ def getenv_bool(name: str, default: str = "False"): def set_env_to_app(app: Flask, key: str, default: str = None): if key in os.environ and os.environ[key]: # pragma: no cover app.config[key] = os.environ[key] + return if default: app.config[key] = default