Skip to content

Commit

Permalink
Changed logic/logging order
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jul 3, 2024
1 parent 3b77664 commit 2b921a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4034,16 +4034,16 @@ def _stalled_check(self, torrent: qbittorrentapi.TorrentDictionary, time_now: fl
elif "qBitrr-allowed_stalled" not in torrent.tags:
torrent.add_tags(["qBitrr-allowed_stalled"])
if self.re_search_stalled:
self.logger.trace(
"Stalled, adding tag, blocklosting and re-searching: %s",
torrent.name,
)
payload = self.process_entries([torrent.hash])
if payload:
for entry, hash_ in payload:
self._process_failed_individual(
hash_=hash_, entry=entry, skip_blacklist=set(), stalled=True
)
self.logger.trace(
"Stalled, adding tag, blocklosting and re-searching: %s",
torrent.name,
)
else:
self.logger.trace(
"Stalled, adding tag: %s",
Expand Down

0 comments on commit 2b921a9

Please sign in to comment.