cleaning path for intergations

This commit is contained in:
2026-02-28 14:11:39 +01:00
parent 5444a4ea13
commit 56585b3de8
2 changed files with 4 additions and 4 deletions

View File

@@ -91,10 +91,8 @@ DEFAULT_CFG = {
def _truthy(value: str | bool | None) -> bool:
if isinstance(value, bool):
return value
if value is None:
return False
if isinstance(value, bool): return value
if value is None: return False
return str(value).strip().lower() in {"1", "true", "yes", "on"}