From b31d71bbc1a325428ddcb77a3843bc806e71e3d7 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 25 Jul 2016 00:14:36 -0400 Subject: [PATCH] [fix] parens --- scripts/geodata/osm/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/osm/formatter.py b/scripts/geodata/osm/formatter.py index 2b979127..dbb7ce58 100644 --- a/scripts/geodata/osm/formatter.py +++ b/scripts/geodata/osm/formatter.py @@ -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():