adafruit / Adafruit_CircuitPython_GPS

GPS parsing module for CircuitPython. Meant to parse NMEA data from serial GPS modules.
MIT License
75 stars 58 forks source link

Fatal typo in line 508 of adafruit_gps.py #107

Closed AKetzle closed 5 months ago

AKetzle commented 5 months ago

Direct Link to Line 508

Line currently reads if data is None: Line should read if parsed_data is None: to prevent parsed_data for being sent with NoneType.

causes _read_degrees to try and subscript a NoneType, causes script failure.

FoamyGuy commented 5 months ago

Are you interested in submitting a PR with a fix for that?

AKetzle commented 5 months ago

Are you interested in submitting a PR with a fix for that?

I'm willing to, but likely won't be able to until Monday as I'm traveling to be in the field this weekend.