This commit is contained in:
Jerry Yan 2020-01-05 14:52:22 +08:00
parent ab545da6cd
commit ff90542cc0

View File

@ -77,7 +77,7 @@ def resetDelay():
def doDelay():
global delay
if (datetime.now() - delay).seconds < 120:
if getTimeDelta(datetime.now(), delay) < 120:
delay = datetime.fromtimestamp(0)
return True
return False