File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,15 @@ def enrich_facility_data(self, facilities_data: dict) -> dict:
8989 if full_address in self .adp_sheet_data :
9090 row = self .adp_sheet_data [full_address ]
9191 logger .debug ("Found additional data in the ADP sheet for %s" , facility_name )
92- facility = self ._update_from_sheet (facility , row )
92+ enriched_facility = self ._update_from_sheet (facility , row )
9393 else :
9494 logger .debug ("Just making sure no other facilities match..." )
9595 for sheet_row in self .adp_sheet_data .values ():
9696 if facility_name .upper () == sheet_row ["Name" ].upper ():
9797 logger .debug ("Matching facility for %s" , facility_name )
98- facility = self ._update_from_sheet (facility , sheet_row )
98+ enriched_facility = self ._update_from_sheet (facility , sheet_row )
9999 break
100+
100101 # Wikipedia search # todo refactor to method
101102 try :
102103 wiki_result = self ._search_wikipedia (facility_name )
You can’t perform that action at this time.
0 commit comments