MartijnBraam / gpsd-py3

Python 3 GPSD client
105 stars 45 forks source link

Handled cases of no satellites seen #10

Closed nickoala closed 6 years ago

nickoala commented 6 years ago

I have seen situations where satellites field is absent in the packet. In such a case, a KeyError is raised when result.sats and result.sats_valid are being set. I have fixed that.

MartijnBraam commented 6 years ago

Neat! Thanks for the fix.