1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-23 12:20:30 +03:00

added informational comment on private access

This commit is contained in:
A_D 2020-07-22 18:03:32 +02:00 committed by Athanasius
parent ecfed2b558
commit 179e06d6e9

View File

@ -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: