Skip to content

Commit

Permalink
[timer] fix float/int issue (#4058)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima73 committed Aug 30, 2024
1 parent 47a7ad4 commit 5f0fc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def shouldSkip(self):
return self.end <= time() and self.state == TimerEntry.StateWaiting

def abort(self):
self.end = time()
self.end = int(time())

# in case timer has not yet started, but gets aborted (so it's preparing),
# set begin to now.
Expand Down

0 comments on commit 5f0fc14

Please sign in to comment.