Update public source

This commit is contained in:
2026-10-16 06:36:05 +03:00
parent b5789f9597
commit bccb161fec
+15 -5
View File
@@ -2085,10 +2085,18 @@ def gps_test_start():
global gps_test_service
if get_scanner_status()["running"]:
with scanner_lock:
if (
scanner_starting
or
(
scanner_process is not None
and
scanner_process.poll() is None
)
):
scanner_output.append(
"[GUI] GPS test cannot start "
"while scanner is running."
@@ -2108,7 +2116,9 @@ def gps_test_start():
if (
gps_test_service is not None
and
gps_test_service.running
gps_test_service.thread is not None
and
gps_test_service.thread.is_alive()
):
return jsonify(
@@ -2144,8 +2154,6 @@ def gps_test_start():
gps_test_service = None
with scanner_lock:
scanner_output.append(
f"[GUI] Failed to start GPS test: "
f"{error}"
@@ -2425,6 +2433,8 @@ def scanner_start():
with scanner_lock:
scanner_starting = False
scanner_output.append(
"[GUI] WiFi interface was not selected."
)