match lowercase
This commit is contained in:
parent
606ed3cc22
commit
229b4d5ac9
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class LocationViewSet(ViewSet):
|
|||
bssids = get_bssid_areas_cached()
|
||||
stations = sorted(stations, key=lambda l: l['level'])
|
||||
for station in stations:
|
||||
area_name = bssids.get(station['bssid'])
|
||||
area_name = bssids.get(station['bssid'].lower())
|
||||
if area_name is not None:
|
||||
location = get_location(request, area_name)
|
||||
if location is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue