mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
Fixed watcher errors when moving/deleting folders containing a cover
This commit is contained in:
parent
ebea356901
commit
e5716b417a
@ -212,6 +212,9 @@ class Scanner:
|
||||
if not isinstance(dirpath, strtype): # pragma: nocover
|
||||
raise TypeError('Expecting string, got ' + str(type(dirpath)))
|
||||
|
||||
if not os.path.exists(dirpath):
|
||||
return
|
||||
|
||||
folder = Folder.get(path = dirpath)
|
||||
if folder is None:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user