This commit is contained in:
jxxghp 2023-09-28 21:18:40 +08:00
parent 6172832f41
commit ce88a6818f

View File

@ -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: