mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed bug to reference standardised data when copying uprn instead of raw
This commit is contained in:
parent
591ce54458
commit
4a6802a5a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue