fix customlocation display error when no space was found
This commit is contained in:
parent
48e1ecda36
commit
552c996fa7
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class CustomLocation:
|
|||
('title', self.title),
|
||||
('subtitle', self.subtitle),
|
||||
('level', self.level.pk),
|
||||
('space', self.space.pk),
|
||||
('space', self.space.pk if self.space else None),
|
||||
))
|
||||
if simple_geometry:
|
||||
result['point'] = (self.level.pk, self.x, self.y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue