Update filter.py

pull/3053/head
Sergey G. Brester 2021-09-21 16:05:53 +02:00 committed by GitHub
parent 17eed32e03
commit d086317cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ class Filter(JailThread):
# if weird date - we'd simulate now for timeing issue (too large deviation from now): # if weird date - we'd simulate now for timeing issue (too large deviation from now):
delta = int(date - MyTime.time()) delta = int(date - MyTime.time())
if abs(delta) > 60: if abs(delta) > 60:
delta /= 60 delta //= 60
# log timing issue as warning once per day: # log timing issue as warning once per day:
self._logWarnOnce("_next_simByTimeWarn", self._logWarnOnce("_next_simByTimeWarn",
("Detected a log entry %sm %s the current time in operation mode. " ("Detected a log entry %sm %s the current time in operation mode. "