From cbd999f88d5894e7b4d11c53069e8c959ec497f8 Mon Sep 17 00:00:00 2001 From: wumode <32482253+wumode@users.noreply.github.com> Date: Sun, 3 Aug 2025 14:12:57 +0800 Subject: [PATCH] Update app/modules/qbittorrent/qbittorrent.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- app/modules/qbittorrent/qbittorrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/qbittorrent/qbittorrent.py b/app/modules/qbittorrent/qbittorrent.py index 12c3465c..07fd01c4 100644 --- a/app/modules/qbittorrent/qbittorrent.py +++ b/app/modules/qbittorrent/qbittorrent.py @@ -97,7 +97,7 @@ class Qbittorrent: if tags: results = [] if not isinstance(tags, list): - tags = tags.split(',') if tags is not None else [] + tags = tags.split(',') try: for torrent in torrents: torrent_tags = [str(tag).strip() for tag in torrent.get("tags").split(',')]