1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-28 16:45:40 +00:00

Fixed wrong import

This commit is contained in:
morpheus65535 2021-10-28 18:10:20 -04:00
parent 279139e517
commit 76215668a5

View file

@ -16,7 +16,7 @@ from list_subtitles import store_subtitles, store_subtitles_movie
# temporarily disable warning for mac users
warnings.simplefilter('ignore', category=UserWarning)
if settings.general.filewatcher_type == 'local':
from watchdog import Observer
from watchdog.observers import Observer
else:
from watchdog.observers.polling import PollingObserverVFS as Observer
# then we enable it again just in case some other module would use this type of warnings