correctly calculate time left on wrong answer

This commit is contained in:
Stefan Harmuth 2022-12-25 10:29:18 +01:00
parent ca4c67f805
commit 69a63c94f6

View File

@ -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)