Skip to content

Commit

Permalink
Update src/watchdog/utils/event_debouncer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored Jul 28, 2024
1 parent 85edd94 commit ca36d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchdog/utils/event_debouncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def stop(self):
super().stop()
self._cond.notify()

def time_to_flush(self, started):
def time_to_flush(self, started) -> bool:
return time.monotonic() - started > self.debounce_interval_seconds

def run(self):
Expand Down

0 comments on commit ca36d2a

Please sign in to comment.