Skip to content

Commit

Permalink
fix: respect PEMDAS in CounterLock debug daemon (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Dec 21, 2024
1 parent e693b6b commit 9cdf0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/primitives/locks/counter.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ cdef class CounterLock(_DebugDaemonMixin):
while self._events:
now = time(NULL)
self.get_logger().debug(
"%s is still locked after %sm", self, round(now - start / 60, 2)
"%s is still locked after %.2fm", self, (now - start) / 60
)
await sleep(300)
Expand Down

0 comments on commit 9cdf0ac

Please sign in to comment.