From a14ce6b89f39be85558186d545f2d096844789f8 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Wed, 28 Feb 2018 18:24:36 +0000 Subject: [PATCH] Poll for dashboard on macOS since can't have two watchdof observers on one directory. --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index 35a3f7ef..38b578da 100644 --- a/dashboard.py +++ b/dashboard.py @@ -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