Skip to content

Commit

Permalink
fix: fix torrents para problem
Browse files Browse the repository at this point in the history
  • Loading branch information
EstrellaXD committed May 24, 2023
1 parent 38bb478 commit 5241b2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/wiki
Submodule wiki updated from 371864 to abcf7b
4 changes: 2 additions & 2 deletions src/module/downloader/download_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def set_rules(self, bangumi_info: list[BangumiData]):
self.set_rule(info)
logger.debug("Finished.")

def get_torrent_info(self, category="Bangumi", status_filter="completed", tags=None):
return self.client.torrents_info(status_filter=status_filter, category=category, tags=tags)
def get_torrent_info(self, category="Bangumi", status_filter="completed", tag=None):
return self.client.torrents_info(status_filter=status_filter, category=category, tag=tag)

def rename_torrent_file(self, _hash, old_path, new_path) -> bool:
logger.info(f"{old_path} >> {new_path}")
Expand Down

0 comments on commit 5241b2a

Please sign in to comment.