Make "flatisfy" key optional in deep_duplicate computation
This commit is contained in:
parent
46457b014a
commit
48835c0d83
@ -222,6 +222,7 @@ def deep_detect(flats_list, config):
|
|||||||
|
|
||||||
# They should have the same postal code, if available
|
# They should have the same postal code, if available
|
||||||
if (
|
if (
|
||||||
|
"flatisfy" in flat1 and "flatisfy" in flat2 and
|
||||||
flat1["flatisfy"].get("postal_code", None) and
|
flat1["flatisfy"].get("postal_code", None) and
|
||||||
flat2["flatisfy"].get("postal_code", None)
|
flat2["flatisfy"].get("postal_code", None)
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user