diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-09-13 15:53:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-09-13 15:53:53 +0000 |
commit | 382cb371b1130862d50abdcb04a3075c2b76342c (patch) | |
tree | 26a0e2d8bd8063cd747c90020cc71f6704720153 /gpsd.py | |
parent | 0d1bc6c5818a88bdcf93c06d34147e400a6f505c (diff) | |
download | gpsd-382cb371b1130862d50abdcb04a3075c2b76342c.tar.gz |
Fixes stimulated by the arrival of the Haicom HI 240-S.
Diffstat (limited to 'gpsd.py')
-rwxr-xr-x | gpsd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ class NMEA: self.logger(3, "Satellite data no good.\n"); def handle_line(self, line): - if line[0] == '$': + if line and line[0] == '$': line = line[1:].split('*') if len(line) != 2: return if not self.checksum(line[0], line[1]): |