node_number, not node
This commit is contained in:
parent
140cae2e18
commit
aa580670ea
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class MeshNodeQuerySet(models.QuerySet):
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
for ranging_beacon in RangingBeacon.objects.filter(Q(wifi_bssid__in=nodes_by_bssid.keys()) |
|
for ranging_beacon in RangingBeacon.objects.filter(Q(wifi_bssid__in=nodes_by_bssid.keys()) |
|
||||||
Q(node__in=nodes_by_id.keys())).select_related('space'):
|
Q(node_number__in=nodes_by_id.keys())).select_related('space'):
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
with suppress(KeyError):
|
with suppress(KeyError):
|
||||||
nodes_by_bssid[ranging_beacon.wifi_bssid]._ranging_beacon = ranging_beacon
|
nodes_by_bssid[ranging_beacon.wifi_bssid]._ranging_beacon = ranging_beacon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue