Version check debug

This commit is contained in:
Jokob-sk
2023-07-14 08:05:02 +10:00
parent 4a754cdae5
commit c9bc3e9447
2 changed files with 4 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ def main ():
# check if new version is available / only check once an hour
# if newVersionAvailable is already true the function does nothing and returns true again
mylog('debug', [f"[Version check] Last version check timestamp: {last_version_check}"])
if last_version_check + datetime.timedelta(hours=1) < loop_start_time :
conf.newVersionAvailable = isNewVersion(conf.newVersionAvailable)