Fix attribute assignment

This commit is contained in:
Alexey Zakharenkov 2022-09-29 20:16:46 +03:00 committed by Alexey Zakharenkov
parent 05b9478dec
commit 00e5130836

View file

@ -1361,7 +1361,7 @@ class RouteMaster:
master['tags'].get('colour:infill', None)
)
except ValueError:
self.colour = None
self.infill = None
self.network = Route.get_network(master)
self.mode = master['tags'].get(
'route_master', None