fix:#4691

This commit is contained in:
wumode
2025-08-03 13:56:58 +08:00
parent 08aa749a53
commit 2fa8a266c5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class Qbittorrent:
if tags:
results = []
if not isinstance(tags, list):
tags = [tags]
tags = tags.split(',') if tags is not None else []
try:
for torrent in torrents:
torrent_tags = [str(tag).strip() for tag in torrent.get("tags").split(',')]