fix #693
This commit is contained in:
parent
6172832f41
commit
ce88a6818f
@ -1215,10 +1215,8 @@ class MediaSyncDel(_PluginBase):
|
|||||||
src = event_data.get("src")
|
src = event_data.get("src")
|
||||||
if not src:
|
if not src:
|
||||||
return
|
return
|
||||||
# 源文件路径
|
|
||||||
src_path = Path(src)
|
|
||||||
# 查询下载hash
|
# 查询下载hash
|
||||||
download_hash = self._downloadhis.get_hash_by_fullpath(src_path)
|
download_hash = self._downloadhis.get_hash_by_fullpath(src)
|
||||||
if download_hash:
|
if download_hash:
|
||||||
self.handle_torrent(src=src, torrent_hash=download_hash)
|
self.handle_torrent(src=src, torrent_hash=download_hash)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user