From 7f93ad58cafd0d44a11fb1e76e7f0ab2817391f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Thu, 26 Dec 2019 18:02:31 +0100 Subject: [PATCH] add helpful comment --- src/c3nav/routing/locator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c3nav/routing/locator.py b/src/c3nav/routing/locator.py index 27f5e9cb..f4746a54 100644 --- a/src/c3nav/routing/locator.py +++ b/src/c3nav/routing/locator.py @@ -100,6 +100,7 @@ class LocatorStations: self.stations_lookup = {} def get(self, bssid, ssid, frequency, create=False): + # yes, we're not looking up frequencies, because they can change… yep… station_id = self.stations_lookup.get((bssid, None), None) if station_id is not None: station = self.stations[station_id]