Update settings.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Jan Tomášek committed Dec 10, 2025 at 10:27 UTC 01096c181338c0f39d659281004e1b1817d375ae
1 file changed +1 -1
python/helpers/settings.py
+1 -1
@@ -36,7 +36,7 @@ def get_default_value(name: str, value: T) -> T:
36 # Normalize type to match value param type
37 try:
38 if isinstance(value, bool):
39 - return env_value.lower() in ('true', '1', 'yes', 'on') # type: ignore
39 + return env_value.strip().lower() in ('true', '1', 'yes', 'on') # type: ignore
40 elif isinstance(value, dict):
41 return json.loads(env_value) # type: ignore
42 elif isinstance(value, str):