Commit 6415af4a authored by Branko Kokanovic's avatar Branko Kokanovic

fixing ways->relations

parent ddfc80d6
......@@ -231,7 +231,7 @@ relation({0});
// &
if len(result.ways) != 1:
if len(result.relations) != 1:
raise Exception('Number of found relations is not 1 for relation {0}'.format(relation_id))
return result.ways[0]
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