Fix attribute assignment

This commit is contained in:
Alexey Zakharenkov 2022-09-29 20:16:46 +03:00 committed by Alexander Borsuk
parent ee913b6d2d
commit 0478791cf2

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