Browse Source

Make "flatisfy" key optional in deep_duplicate computation

numerals
Lucas Verney 5 years ago
parent
commit
48835c0d83
  1. 1
      flatisfy/filters/duplicates.py

1
flatisfy/filters/duplicates.py

@ -222,6 +222,7 @@ def deep_detect(flats_list, config): @@ -222,6 +222,7 @@ def deep_detect(flats_list, config):
# They should have the same postal code, if available
if (
"flatisfy" in flat1 and "flatisfy" in flat2 and
flat1["flatisfy"].get("postal_code", None) and
flat2["flatisfy"].get("postal_code", None)
):

Loading…
Cancel
Save