From 357b2279682a80e56b1cb5c750fecedde4293d7d Mon Sep 17 00:00:00 2001 From: Satu Koskinen Date: Sat, 22 Oct 2022 15:55:58 +0300 Subject: [PATCH] Update error print in record-gps.py --- gps-logger/record-gps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps-logger/record-gps.py b/gps-logger/record-gps.py index 97b2a54..9a09409 100644 --- a/gps-logger/record-gps.py +++ b/gps-logger/record-gps.py @@ -34,6 +34,6 @@ with open(filename, "w", 1) as f: print("Exiting GPS recording.", flush=True) break except Exception as e: - print(f"GPS error: {e}", flush=True) + print(f"GPS error: {e}, trying again...", flush=True) time.sleep(interval)