fix location_id of PointLocation
This commit is contained in:
parent
e3990fcaf0
commit
8a9406275b
2 changed files with 3 additions and 2 deletions
|
@ -242,6 +242,7 @@ class Graph:
|
|||
|
||||
def get_location_points(self, location: Location):
|
||||
if isinstance(location, PointLocation):
|
||||
return self.levels[level.name].points_from()
|
||||
return 'bla'
|
||||
elif isinstance(location, AreaLocation):
|
||||
return self.levels[location.level.name].arealocation_points[location.name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue