mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
Poll for dashboard on macOS
since can't have two watchdof observers on one directory.
This commit is contained in:
parent
8e00d42eb2
commit
a14ce6b89f
@ -55,7 +55,7 @@ class Dashboard(FileSystemEventHandler):
|
||||
# File system events are unreliable/non-existent over network drives on Linux.
|
||||
# We can't easily tell whether a path points to a network drive, so assume
|
||||
# any non-standard logdir might be on a network drive and poll instead.
|
||||
polling = bool(config.get('journaldir')) and platform != 'win32'
|
||||
polling = platform != 'win32'
|
||||
if not polling and not self.observer:
|
||||
self.observer = Observer()
|
||||
self.observer.daemon = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user