Skip to content

Commit

Permalink
Fixed multiple postpones wrong timing
Browse files Browse the repository at this point in the history
  • Loading branch information
gamecraftCZ committed Jul 29, 2019
1 parent b9e4eed commit cf37032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/20eyes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def postponeCallback(top):
global currentPostpone
global breakEnd
currentWindow = "running"
breakEnd = time() - WORK_TIME + currentPostpone
breakEnd = time() - WORK_TIME - currentPostpone
currentPostpone += POSTPONE_TIME
print(f"Postponed for {POSTPONE_TIME} minutes")
top.destroy()
Expand Down

0 comments on commit cf37032

Please sign in to comment.