This commit is contained in:
Al
2016-07-22 18:55:55 -04:00
2 changed files with 2 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ class OSMAddressFormatter(object):
language = random.choice(namespaced)
lang_suffix = ':{}'.format(language)
for k in tags:
if k.endswith(lang_suffix):
tags[k.rstrip(lang_suffix)] = tags[k]