[fix] casing in state abbreviaitons dictionary

This commit is contained in:
Al
2016-09-13 21:56:19 -04:00
parent c9c1d912b0
commit b70c140a00

View File

@@ -32,7 +32,7 @@ class StateAbbreviations(object):
full_name = safe_decode(full_name) full_name = safe_decode(full_name)
abbreviation = safe_decode(abbreviation) abbreviation = safe_decode(abbreviation)
country_abbreviations[full_name.lower()][language] = abbreviation country_abbreviations[full_name.lower()][language] = abbreviation
country_full_names[abbreviation][language] = full_name country_full_names[abbreviation.lower()][language] = full_name
self.abbreviations[country] = dict(country_abbreviations) self.abbreviations[country] = dict(country_abbreviations)
self.full_names[country] = dict(country_full_names) self.full_names[country] = dict(country_full_names)