Skip to content

Commit

Permalink
Fixed debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Feb 5, 2024
1 parent 2cfb370 commit 03621f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4159,12 +4159,14 @@ def refresh_download_queue(self):
}
if self.model_queue:
queue_before = self.model_queue.select(self.model_queue.EntryId).execute()
self.logger.debug("Queue before: %s", queue_before.dicts())
{entry for entry in queue_before if entry}
self.logger.debug("Queue before: %s", queue_before)
self.model_queue.delete().where(
self.model_queue.EntryId.not_in(list(self.queue_file_ids))
).execute()
queue_after = self.model_queue.select(self.model_queue.EntryId).execute()
self.logger.debug("Queue after: %s", queue_after.dicts())
{entry for entry in queue_before if entry}
self.logger.debug("Queue after: %s", queue_after)

self._update_bad_queue_items()

Expand Down

0 comments on commit 03621f9

Please sign in to comment.