From 5241b2a8bf81c46dbf81687d967e3e4b6b9ed1ac Mon Sep 17 00:00:00 2001 From: EstrellaXD Date: Wed, 24 May 2023 23:46:55 +0800 Subject: [PATCH] fix: fix torrents para problem --- docs/wiki | 2 +- src/module/downloader/download_client.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wiki b/docs/wiki index 371864db..abcf7bfd 160000 --- a/docs/wiki +++ b/docs/wiki @@ -1 +1 @@ -Subproject commit 371864dbb8eb287ce4028717683ae3aa851817a3 +Subproject commit abcf7bfdcd5a03aa9d0e23259d5d7138e1935d77 diff --git a/src/module/downloader/download_client.py b/src/module/downloader/download_client.py index 3aa24298..7321d1fe 100644 --- a/src/module/downloader/download_client.py +++ b/src/module/downloader/download_client.py @@ -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}")