45
45
import time
46
46
from micropython import const
47
47
48
- __version__ = "3.6.3 "
48
+ __version__ = "0.0.0-auto.0 "
49
49
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_GPS.git"
50
50
51
51
@@ -260,7 +260,7 @@ def _parse_sentence(self):
260
260
261
261
def _parse_gpgll (self , args ):
262
262
data = args .split ("," )
263
- if data is None or data [0 ] is None or (data [0 ] == '' ):
263
+ if data is None or data [0 ] is None or (data [0 ] == "" ):
264
264
return # Unexpected number of params.
265
265
266
266
# Parse latitude and longitude.
@@ -295,7 +295,7 @@ def _parse_gprmc(self, args):
295
295
# Parse the arguments (everything after data type) for NMEA GPRMC
296
296
# minimum location fix sentence.
297
297
data = args .split ("," )
298
- if data is None or len (data ) < 11 or data [0 ] is None or (data [0 ] == '' ):
298
+ if data is None or len (data ) < 11 or data [0 ] is None or (data [0 ] == "" ):
299
299
return # Unexpected number of params.
300
300
# Parse fix time.
301
301
time_utc = int (_parse_float (data [0 ]))
@@ -374,7 +374,7 @@ def _parse_gpgga(self, args):
374
374
# Parse the arguments (everything after data type) for NMEA GPGGA
375
375
# 3D location fix sentence.
376
376
data = args .split ("," )
377
- if data is None or len (data ) != 14 or (data [0 ] == '' ):
377
+ if data is None or len (data ) != 14 or (data [0 ] == "" ):
378
378
return # Unexpected number of params.
379
379
# Parse fix time.
380
380
time_utc = int (_parse_float (data [0 ]))
@@ -421,7 +421,7 @@ def _parse_gpgga(self, args):
421
421
422
422
def _parse_gpgsa (self , args ):
423
423
data = args .split ("," )
424
- if data is None or (data [0 ] == '' ):
424
+ if data is None or (data [0 ] == "" ):
425
425
return # Unexpected number of params
426
426
427
427
# Parse selection mode
@@ -444,7 +444,7 @@ def _parse_gpgsv(self, args):
444
444
# Parse the arguments (everything after data type) for NMEA GPGGA
445
445
# 3D location fix sentence.
446
446
data = args .split ("," )
447
- if data is None or (data [0 ] == '' ):
447
+ if data is None or (data [0 ] == "" ):
448
448
return # Unexpected number of params.
449
449
450
450
# Parse number of messages
0 commit comments