diff --git a/gps_client.py b/gps_client.py index 1c4712fe..7662f278 100644 --- a/gps_client.py +++ b/gps_client.py @@ -60,5 +60,6 @@ try: # Got ^C, or fell out of the loop. Cleanup, and leave. session.close() +except: print("%d %.6f %.6f %.1f" % (mode, lat, lon, alt)) exit(0)