diff --git a/src/reader/plugins/entry_dedupe.py b/src/reader/plugins/entry_dedupe.py index 819c3fe1..9d869ced 100644 --- a/src/reader/plugins/entry_dedupe.py +++ b/src/reader/plugins/entry_dedupe.py @@ -360,7 +360,11 @@ def by_title(e): def _get_flag_args(entry, duplicates, name): entries = duplicates + [entry] - flag = any(getattr(d, name) for d in entries) + + flags = {getattr(d, name) for d in entries} + for flag in (True, False, None): # pragma: no cover + if flag in flags: + break modified_name = f'{name}_modified' modifieds = (