After elapsing set broch mode off in config

merge-requests/18/head
Bob Mottram 2021-02-15 22:53:58 +00:00
parent f4fdedba87
commit df550f8e65
1 changed files with 1 additions and 0 deletions

View File

@ -436,6 +436,7 @@ def brochModeLapses(baseDir: str, lapseDays=7) -> None:
if daysSinceBroch >= lapseDays:
try:
os.remove(allowFilename)
setConfigParam(baseDir, "brochMode", False)
print('Broch mode has elapsed')
except BaseException:
pass