fix nitpick

This commit is contained in:
Jun-te Kim 2026-05-12 09:43:40 +00:00
parent c22528299c
commit b72d5fbf42

View file

@ -61,7 +61,7 @@ def get_uprn_from_historic_epc(
return None
uprn: Optional[str] = result.unambiguous_uprn()
if not uprn or uprn in ("", "nan"):
if not uprn or uprn == "nan":
return None
top = result.top()