From a5bcd12c95d4e17a8e68ed94f370f8aed9ddef5d Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sun, 9 Feb 2025 22:09:02 +0300 Subject: [PATCH] Improve time-based merge configuration parsing --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index b6168c0..8acfc42 100644 --- a/config.py +++ b/config.py @@ -12,5 +12,5 @@ def get_settings(): "log_level": os.getenv("LOG_LEVEL", "INFO"), "debug": os.getenv("DEBUG", "False") == "True", "token": os.getenv("TOKEN", ""), - "time_based_merge": os.getenv("TIME_BASED_MERGE", "False") == "True", + "time_based_merge": os.getenv("TIME_BASED_MERGE", "False").strip() in ["True", "true"], }