[osm] add postcode phrases when there's no validation/component-stripping

This commit is contained in:
Al
2017-02-11 01:54:55 -05:00
parent c9ade4a7da
commit 7bfc52b540

View File

@@ -623,7 +623,7 @@ class OSMAddressFormatter(object):
if not match: if not match:
if not should_strip_components and not needs_validation: if not should_strip_components and not needs_validation:
valid.append(postal_code) valid.append(PostalCodes.add_country_code(postal_code, country))
return valid return valid
if should_strip_components: if should_strip_components: