[merge]
This commit is contained in:
@@ -154,6 +154,7 @@ class OSMAddressFormatter(object):
|
|||||||
language = random.choice(namespaced)
|
language = random.choice(namespaced)
|
||||||
lang_suffix = ':{}'.format(language)
|
lang_suffix = ':{}'.format(language)
|
||||||
for k in tags:
|
for k in tags:
|
||||||
|
|
||||||
if k.endswith(lang_suffix):
|
if k.endswith(lang_suffix):
|
||||||
tags[k.rstrip(lang_suffix)] = tags[k]
|
tags[k.rstrip(lang_suffix)] = tags[k]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user