From b72d5fbf42f530eb439d5e8804a9fb270a035f53 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 12 May 2026 09:43:40 +0000 Subject: [PATCH] fix nitpick --- backend/address2UPRN/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/address2UPRN/main.py b/backend/address2UPRN/main.py index 6b684cef..e49088f4 100644 --- a/backend/address2UPRN/main.py +++ b/backend/address2UPRN/main.py @@ -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()