MartijnBraam / gpsd-py3

Python 3 GPSD client
107 stars 45 forks source link

Add has_fix() helper method to response packet #17

Closed lsgunth closed 4 years ago

lsgunth commented 6 years ago

Seeing this would not be obvious in calling code (checking if 'mode >= 2') add a helper method that's explicit. This should also be more future-proof if values of mode should happen to change.