Fix #11 - missing interchanges

This commit is contained in:
Ilya Zverev 2017-10-18 14:13:35 +03:00
parent 9c288ef238
commit 3f25cc7726

View file

@ -401,9 +401,9 @@ class City:
if len(self.routes[k]) == 0:
del self.routes[k]
if (el['type'] == 'relation' and
el.get('tags', {}).get('public_transport', None) == 'stop_area_group'):
self.make_transfer(el)
if (el['type'] == 'relation' and
el.get('tags', {}).get('public_transport', None) == 'stop_area_group'):
self.make_transfer(el)
def count_unused_entrances(self):
global used_entrances