Skip to content

Commit

Permalink
Added more debugs and changed parameter value
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jul 15, 2024
1 parent 34e793f commit 32e9d39
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,12 +859,14 @@ def _process_imports(self) -> None:
def _process_failed_individual(
self, hash_: str, entry: int, skip_blacklist: set[str], remove_from_client: bool = True
) -> None:
self.logger.debug(
"Deleting from queue: %s, [%s][Blocklisting:%s][Remove from client:%s]",
hash_,
self.manager.qbit_manager.name_cache.get(hash_, "Blocklisted"),
True if hash_ not in skip_blacklist else False,
remove_from_client,
)
if hash_ not in skip_blacklist:
self.logger.debug(
"Blocklisting: %s (%s)",
hash_,
self.manager.qbit_manager.name_cache.get(hash_, "Blocklisted"),
)
self.delete_from_queue(
id_=entry, remove_from_client=remove_from_client, blacklist=True
)
Expand Down Expand Up @@ -4054,7 +4056,7 @@ def _stalled_check(self, torrent: qbittorrentapi.TorrentDictionary, time_now: fl
"Stalled, adding tag, blocklosting and re-searching: %s",
torrent.name,
)
skip_blacklist = {i.upper() for i in self.skip_blacklist}
skip_blacklist = set()
payload = self.process_entries([torrent.hash])
if payload:
for entry, hash_ in payload:
Expand Down

0 comments on commit 32e9d39

Please sign in to comment.