Skip to content

Commit

Permalink
Merge pull request #3531 from InfinityPacer/feature/subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Dec 13, 2024
2 parents 56767b9 + 6ab7645 commit 782829c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/chain/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def download_single(self, context: Context, torrent_file: Path = None,
# 发送资源下载事件,允许外部拦截下载
event_data = ResourceDownloadEventData(
context=context,
episodes=episodes,
episodes=episodes or context.meta_info.episode_list,
channel=channel,
origin=source,
downloader=downloader,
Expand Down Expand Up @@ -384,7 +384,7 @@ def download_single(self, context: Context, torrent_file: Path = None,
"context": context,
"username": username,
"downloader": _downloader,
"episodes": episodes,
"episodes": episodes or _meta.episode_list,
"source": source
})
else:
Expand Down

0 comments on commit 782829c

Please sign in to comment.