mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-11 09:59:51 +08:00
Update app/modules/qbittorrent/qbittorrent.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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(',')]
|
||||
|
||||
Reference in New Issue
Block a user