mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-05-02 14:34:13 +08:00
fix: collector torrent not added bug.
This commit is contained in:
@@ -22,6 +22,8 @@ class SeasonCollector(DownloadClient):
|
||||
logger.info(
|
||||
f"Collections of {bangumi.official_title} Season {bangumi.season} completed."
|
||||
)
|
||||
for torrent in torrents:
|
||||
torrent.downloaded = True
|
||||
bangumi.eps_collect = True
|
||||
if engine.bangumi.update(bangumi):
|
||||
engine.bangumi.add(bangumi)
|
||||
|
||||
Reference in New Issue
Block a user