From d2651ad4f9981d3e21c5f10fdef0a520d0f2d42d Mon Sep 17 00:00:00 2001 From: Roman Bazalevskiy Date: Fri, 24 Nov 2017 12:40:44 +0300 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=B8?= =?utf8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?utf8?q?=D0=BF=D1=80=D0=B8=20=D1=84=D0=BE=D1=80=D0=BC=D0=B8=D1=80=D0=BE?= =?utf8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81?= =?utf8?q?=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- pyosmname.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyosmname.py b/pyosmname.py index b64d4ea..a0ee16f 100644 --- a/pyosmname.py +++ b/pyosmname.py @@ -51,12 +51,12 @@ def printable_name(addr): else: if 'city' in addr: if 'road' in addr: - str = addr['road'] + ', ' + addr['city'] + addr['country'] + str = addr['road'] + ', ' + addr['city'] + ', ' + addr['country'] else: str = addr['city'] + ', ' + addr['country'] elif 'village' in addr: if 'road' in addr: - str = addr['road'] + ', ' + addr['village'] + addr['country'] + str = addr['road'] + ', ' + addr['village'] +', ' + addr['country'] else: str = addr['village'] + ', ' + addr['country'] else: -- 2.34.1