Avoid default param, which makes static analysis harder

main
Bob Mottram 2021-10-29 15:49:13 +01:00
parent 68ad5840eb
commit e89538de47
1 changed files with 1 additions and 1 deletions

View File

@ -861,7 +861,7 @@ def setBrochMode(baseDir: str, domainFull: str, enabled: bool) -> None:
setConfigParam(baseDir, "brochMode", enabled)
def brochModeLapses(baseDir: str, lapseDays: int = 7) -> bool:
def brochModeLapses(baseDir: str, lapseDays: int) -> bool:
"""After broch mode is enabled it automatically
elapses after a period of time
"""