Update gps_client.py add except

pi-sensors-auto-gps
Alan Johnston 4 days ago committed by GitHub
parent 4454747453
commit 7140fab3f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -60,5 +60,6 @@ try:
# Got ^C, or fell out of the loop. Cleanup, and leave. # Got ^C, or fell out of the loop. Cleanup, and leave.
session.close() session.close()
except:
print("%d %.6f %.6f %.1f" % (mode, lat, lon, alt)) print("%d %.6f %.6f %.1f" % (mode, lat, lon, alt))
exit(0) exit(0)

Loading…
Cancel
Save

Powered by TurnKey Linux.