Skip to content

Commit

Permalink
Fix error in GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jul 21, 2015
1 parent 414a53a commit e1010d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/roam/api/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ def parse_data(self, datastring):
except AttributeError as er:
log(er.message)
return
except pynmea2.SentenceTypeError as er:
log(er.message)
return

mappings = {"RMC": self.extract_rmc,
"GGA": self.extract_gga,
Expand Down

0 comments on commit e1010d6

Please sign in to comment.