Update gps_client.py fix except

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.