From e52b0ecf434f09303d2ab77ca93862136e0b6840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tom=C3=A1=C5=A1ek?= <38891707+frdel@users.noreply.github.com> Date: Wed, 10 Dec 2025 10:28:00 +0100 Subject: [PATCH] Update settings.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- python/helpers/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/helpers/settings.py b/python/helpers/settings.py index 866ab5306..48232054a 100644 --- a/python/helpers/settings.py +++ b/python/helpers/settings.py @@ -38,7 +38,7 @@ def get_default_value(name: str, value: T) -> T: if isinstance(value, bool): return env_value.strip().lower() in ('true', '1', 'yes', 'on') # type: ignore elif isinstance(value, dict): - return json.loads(env_value) # type: ignore + return json.loads(env_value.strip()) # type: ignore elif isinstance(value, str): return str(env_value).strip() # type: ignore else: