Improve time-based merge configuration parsing
This commit is contained in:
@@ -12,5 +12,5 @@ def get_settings():
|
|||||||
"log_level": os.getenv("LOG_LEVEL", "INFO"),
|
"log_level": os.getenv("LOG_LEVEL", "INFO"),
|
||||||
"debug": os.getenv("DEBUG", "False") == "True",
|
"debug": os.getenv("DEBUG", "False") == "True",
|
||||||
"token": os.getenv("TOKEN", ""),
|
"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"],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user