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(',')]