fix download
This commit is contained in:
parent
b54b98e1c3
commit
d79d5d1d7e
@ -115,7 +115,7 @@ class CommonChain(_ChainBase):
|
|||||||
# 添加下载
|
# 添加下载
|
||||||
result: Optional[tuple] = self.run_module("download",
|
result: Optional[tuple] = self.run_module("download",
|
||||||
torrent_path=_torrent_file,
|
torrent_path=_torrent_file,
|
||||||
mediainfo=_media,
|
cookie=_torrent.site_cookie,
|
||||||
episodes=_episodes)
|
episodes=_episodes)
|
||||||
if result:
|
if result:
|
||||||
_hash, error_msg = result
|
_hash, error_msg = result
|
||||||
|
@ -146,7 +146,7 @@ class UserMessageChain(_ChainBase):
|
|||||||
# 添加下载
|
# 添加下载
|
||||||
result: Optional[tuple] = self.run_module("download",
|
result: Optional[tuple] = self.run_module("download",
|
||||||
torrent_path=torrent_file,
|
torrent_path=torrent_file,
|
||||||
mediainfo=self._current_media)
|
cookie=torrent.site_cookie)
|
||||||
if result:
|
if result:
|
||||||
state, msg = result
|
state, msg = result
|
||||||
else:
|
else:
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user