kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Further python3 fixes.
rodzic
a1cd87330f
commit
ec6f768e97
|
|
@ -370,7 +370,7 @@ class SondeDecoder(object):
|
|||
|
||||
else:
|
||||
try:
|
||||
_telemetry = json.loads(data)
|
||||
_telemetry = json.loads(data.decode('ascii'))
|
||||
except Exception as e:
|
||||
self.log_debug("Line could not be parsed as JSON - %s" % str(e))
|
||||
return False
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue