From bdcb9254f7b94f4048755b2a74e9e37ada9fbb93 Mon Sep 17 00:00:00 2001 From: Feramance Date: Tue, 9 Jan 2024 11:26:08 +0100 Subject: [PATCH] Ignored tag update --- qBitrr/arss.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index ff466f95..0f69067f 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -3532,9 +3532,13 @@ def _process_single_torrent(self, torrent: qbittorrentapi.TorrentDictionary): elif torrent.state_enum == TorrentStates.QUEUED_UPLOAD: self._process_single_torrent_queued_upload(torrent, leave_alone) - elif torrent.state_enum in ( - TorrentStates.METADATA_DOWNLOAD, - TorrentStates.STALLED_DOWNLOAD, + elif ( + torrent.state_enum + in ( + TorrentStates.METADATA_DOWNLOAD, + TorrentStates.STALLED_DOWNLOAD, + ) + and "qBitrr-ignored" not in torrent.tags ): self._process_single_torrent_stalled_torrent(torrent, "Stalled State") elif (