mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 13:25:16 +02:00
Fix for lp:1281296, multiple entries for books when processing multiple exclusion rules.
This commit is contained in:
parent
2691875730
commit
3aa7697f1a
1 changed files with 2 additions and 2 deletions
|
|
@ -4722,7 +4722,6 @@ def process_exclusions(self, data_set):
|
|||
Return:
|
||||
(list): filtered data_set
|
||||
"""
|
||||
|
||||
filtered_data_set = []
|
||||
exclusion_pairs = []
|
||||
exclusion_set = []
|
||||
|
|
@ -4773,7 +4772,8 @@ def process_exclusions(self, data_set):
|
|||
filtered_data_set.remove(record)
|
||||
break
|
||||
else:
|
||||
filtered_data_set.append(record)
|
||||
if record not in filtered_data_set:
|
||||
filtered_data_set.append(record)
|
||||
else:
|
||||
if (record not in filtered_data_set and
|
||||
record not in exclusion_set):
|
||||
|
|
|
|||
Loading…
Reference in a new issue