fix: fix torrents para problem

This commit is contained in:
EstrellaXD
2023-05-24 23:46:55 +08:00
parent 38bb4780d9
commit 5241b2a8bf
2 changed files with 3 additions and 3 deletions

View File

@@ -90,8 +90,8 @@ class DownloadClient(TorrentPath):
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}")