mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 01:16:50 +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:
co-authored by
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
2fa8a266c5
commit
cbd999f88d
@@ -97,7 +97,7 @@ class Qbittorrent:
|
|||||||
if tags:
|
if tags:
|
||||||
results = []
|
results = []
|
||||||
if not isinstance(tags, list):
|
if not isinstance(tags, list):
|
||||||
tags = tags.split(',') if tags is not None else []
|
tags = tags.split(',')
|
||||||
try:
|
try:
|
||||||
for torrent in torrents:
|
for torrent in torrents:
|
||||||
torrent_tags = [str(tag).strip() for tag in torrent.get("tags").split(',')]
|
torrent_tags = [str(tag).strip() for tag in torrent.get("tags").split(',')]
|
||||||
|
|||||||
Reference in New Issue
Block a user