wifi measurements have no x and y properties directly, get them from geometry
This commit is contained in:
parent
71359ef3cb
commit
e15d178102
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ class Locator:
|
||||||
pk=space.pk,
|
pk=space.pk,
|
||||||
points=tuple(
|
points=tuple(
|
||||||
LocatorPoint(
|
LocatorPoint(
|
||||||
x=measurement.x,
|
x=measurement.geometry.x,
|
||||||
y=measurement.x,
|
y=measurement.geometry.y,
|
||||||
values=self.convert_scans(measurement.data),
|
values=self.convert_scans(measurement.data),
|
||||||
)
|
)
|
||||||
for measurement in space.wifi_measurements.all()
|
for measurement in space.wifi_measurements.all()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue