Commit 0567d761 authored by Rafal's avatar Rafal

Add restauration addres in 1 line

parent d89006e5
...@@ -37,4 +37,6 @@ class API(BaseAPI): ...@@ -37,4 +37,6 @@ class API(BaseAPI):
result['street'] = property['value'] result['street'] = property['value']
elif property['key'] == 'OADR_NR': elif property['key'] == 'OADR_NR':
result['nr'] = property['value'] result['nr'] = property['value']
result['address'] = "{0} {1}, {2}".format(result['street'].encode("utf-8"), result['nr'].encode("utf-8"), result['city'].encode("utf-8"))
return result return result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment