From 2325fe6a4d3383718663fd3117ab69ca771ccf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 29 Dec 2024 01:54:03 +0100 Subject: [PATCH] Revert "comment out locate_range for now" This reverts commit 5396469a6e56b74bef5e72d3cac188faf7f95f95. --- src/c3nav/routing/locator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/c3nav/routing/locator.py b/src/c3nav/routing/locator.py index 90436b96..878a92cb 100644 --- a/src/c3nav/routing/locator.py +++ b/src/c3nav/routing/locator.py @@ -217,9 +217,9 @@ class Locator: if not scan_data: return None - #result = self.locate_range(scan_data, permissions) - #if result is not None: - # return result + result = self.locate_range(scan_data, permissions) + if result is not None: + return result result = self.locate_by_beacon_positions(scan_data, permissions) if result is not None: