serialize waytype correctly please
This commit is contained in:
parent
6428a39a04
commit
2fbe659a8e
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class RouteItem:
|
|||
('waytype', (self.route.router.waytypes[self.edge.waytype] if self.edge and self.edge.waytype else None)),
|
||||
))
|
||||
if self.waytype:
|
||||
result['waytype'] = self.waytype.serialize(detailed=False)
|
||||
result['waytype'] = self.waytype
|
||||
|
||||
if self.new_space:
|
||||
result['space'] = describe_location(self.space, self.route.visible_locations)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue