diff --git a/monitor.py b/monitor.py index ae2f707d..dc1165a4 100644 --- a/monitor.py +++ b/monitor.py @@ -274,7 +274,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below self.event_queue.append(None) self.live = False - # Watchdog thread + # Watchdog thread -- there is a way to get this by using self.observer.emitters and checking for an attribute: + # watch, but that may have unforseen differences in behaviour. emitter = self.observed and self.observer._emitter_for_watch[self.observed] # Note: Uses undocumented attribute while True: