rai68 / gpsd-easy

9 stars 2 forks source link

Fixed a typo (logging.log) and use "repr(coords)" to make coords into… #5

Closed Sniffleupagus closed 1 day ago

Sniffleupagus commented 1 day ago

… a string

My pwny was not saving .gps.json files, even though I had gps lock. I saw an error in the logs on line 318:

File "/usr/local/share/pwnagotchi/custom-plugins/gpsdeasy.py", line 318, in on_handshake logging.log("!!!!! " + coords)


TypeError: can only concatenate str (not "dict") to str

Then it didn't like logging.log, so I switched to .debug. there apparently is a logging.log, but it takes different arguments (that I do not know)
rai68 commented 1 day ago

I just need to delete the logging lines, they dont need to be there anymore