fix
This commit is contained in:
@ -673,6 +673,8 @@ class MediaSyncDel(_PluginBase):
|
|||||||
paths = self._library_path.split("\n")
|
paths = self._library_path.split("\n")
|
||||||
for path in paths:
|
for path in paths:
|
||||||
sub_paths = path.split(":")
|
sub_paths = path.split(":")
|
||||||
|
if len(sub_paths) < 2:
|
||||||
|
continue
|
||||||
media_path = media_path.replace(sub_paths[0], sub_paths[1]).replace('\\', '/')
|
media_path = media_path.replace(sub_paths[0], sub_paths[1]).replace('\\', '/')
|
||||||
|
|
||||||
# 删除电影
|
# 删除电影
|
||||||
|
Reference in New Issue
Block a user