diff --git a/app/plugins/torrentremover/__init__.py b/app/plugins/torrentremover/__init__.py index 9744ad15..5ef8a74e 100644 --- a/app/plugins/torrentremover/__init__.py +++ b/app/plugins/torrentremover/__init__.py @@ -644,7 +644,7 @@ class TorrentRemover(_PluginBase): return None if self._torrentstates and torrent.state not in self._torrentstates: return None - if self._torrentcategorys and torrent.category not in self._torrentcategorys: + if self._torrentcategorys and torrent.category and torrent.category not in self._torrentcategorys: return None return { "id": torrent.hash,