Skip to content

Commit

Permalink
Ignored tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jan 9, 2024
1 parent 38c9b1e commit bdcb925
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit bdcb925

Please sign in to comment.