mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-01 00:55:52 +00:00
Fixed wrong import
This commit is contained in:
parent
279139e517
commit
76215668a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue