correctly calculate time left on wrong answer
This commit is contained in:
parent
ca4c67f805
commit
69a63c94f6
@ -158,7 +158,7 @@ class AOCDay:
|
|||||||
|
|
||||||
seconds = int(seconds)
|
seconds = int(seconds)
|
||||||
if minutes:
|
if minutes:
|
||||||
seconds *= int(minutes) * 60
|
seconds += int(minutes) * 60
|
||||||
|
|
||||||
print("TOO SOON. Waiting %d seconds until auto-retry." % seconds)
|
print("TOO SOON. Waiting %d seconds until auto-retry." % seconds)
|
||||||
time.sleep(seconds)
|
time.sleep(seconds)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user