Browse Source

Filtering active post-proc queue by category was broken

tags/3.3.1RC1
Safihre 4 years ago
parent
commit
7322f8348a
  1. 2
      sabnzbd/api.py

2
sabnzbd/api.py

@ -1646,7 +1646,7 @@ def build_history(
# Filter out any items that don't match the search term or category
if postproc_queue:
# It would be more efficient to iterate only once, but we accept the penalty for code clarity
if isinstance(search, list):
if isinstance(categories, list):
postproc_queue = [nzo for nzo in postproc_queue if nzo.cat in categories]
if isinstance(search, str):

Loading…
Cancel
Save