diff --git a/scripts/geodata/addresses/components.py b/scripts/geodata/addresses/components.py index 97c2bd73..78ba859f 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -1105,7 +1105,7 @@ class AddressComponents(object): def add_metro_station_phrase(self, address_components, language, country=None): metro_station = address_components.get(AddressFormatter.METRO_STATION, None) - phrase = MetroStation.phrase(station, language, country=country) + phrase = MetroStation.phrase(metro_station, language, country=country) if phrase and phrase != metro_station: address_components[AddressFormatter.METRO_STATION] = phrase