[fix] parens

This commit is contained in:
Al
2016-07-25 00:14:36 -04:00
parent e5b84205bc
commit b31d71bbc1

View File

@@ -459,7 +459,7 @@ class OSMAddressFormatter(object):
language_suffix = ':{}'.format(language)
name = tags.get('{}{}'.format(name_tag, language_suffix))
if not name or not name.strip() and language == ENGLISH:
if (not name or not name.strip()) and language == ENGLISH:
name = tags.get(name_tag)
if not name or not name.strip():