Skip to content

Commit

Permalink
Fixes #560
Browse files Browse the repository at this point in the history
  • Loading branch information
bobokun committed May 25, 2024
1 parent 8560f24 commit 6e888db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.6-develop2
4.1.6-develop3
2 changes: 1 addition & 1 deletion modules/core/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 6e888db

Please sign in to comment.