mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Fix optional watchdog handling.
Broken with 4086dd61da.
Thanks for bug report from @nsoranzo.
This commit is contained in:
@@ -9,6 +9,7 @@ try:
|
||||
from watchdog.observers.polling import PollingObserver
|
||||
can_watch = True
|
||||
except ImportError:
|
||||
Observer = None
|
||||
FileSystemEventHandler = object
|
||||
PollingObserver = object
|
||||
can_watch = False
|
||||
|
||||
Reference in New Issue
Block a user