Update error print in record-gps.py

This commit is contained in:
Satu Koskinen 2022-10-22 15:55:58 +03:00
parent 10ca1e50d5
commit 357b227968

View File

@ -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)