From 4a6802a5a24715ca0f047a70b680d6dc484cd7b4 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Thu, 20 Feb 2025 08:27:35 +0000 Subject: [PATCH] fixed bug to reference standardised data when copying uprn instead of raw --- asset_list/AssetList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset_list/AssetList.py b/asset_list/AssetList.py index 5e8ff29c..86b1bf87 100644 --- a/asset_list/AssetList.py +++ b/asset_list/AssetList.py @@ -299,7 +299,7 @@ class AssetList: # Finally, we handle the case where the landlord's property ID is actually the OS UPRN if self.landlord_uprn == self.landlord_property_id: - self.raw_asset_list[self.STANDARD_UPRN] = self.raw_asset_list[self.landlord_uprn].copy() + self.standardised_asset_list[self.STANDARD_UPRN] = self.standardised_asset_list[self.landlord_uprn].copy() # Update the reference to landlord UPRn self.landlord_uprn = self.STANDARD_UPRN