From 6e888db5e78180d8560dbc415fc984798e2e6fcf Mon Sep 17 00:00:00 2001 From: bobokun Date: Sat, 25 May 2024 07:56:13 -0400 Subject: [PATCH] Fixes #560 --- VERSION | 2 +- modules/core/category.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index d2f21b10..5db399a0 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.1.6-develop2 +4.1.6-develop3 diff --git a/modules/core/category.py b/modules/core/category.py index b00e7acc..cce62f1b 100644 --- a/modules/core/category.py +++ b/modules/core/category.py @@ -46,7 +46,7 @@ def category(self): def get_tracker_cat(self, torrent): tracker = self.qbt.get_tags(self.qbt.get_tracker_urls(torrent.trackers)) - return tracker["cat"] + return [tracker["cat"]] if tracker["cat"] else None def update_cat(self, torrent, new_cat, cat_change): """Update category based on the torrent information"""