From ec6f768e974414adcea91904b6e78a715f2d05d2 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Sat, 9 Mar 2019 21:22:55 +1030 Subject: [PATCH] Further python3 fixes. --- auto_rx/autorx/decode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_rx/autorx/decode.py b/auto_rx/autorx/decode.py index 7378d57..d78b1d0 100644 --- a/auto_rx/autorx/decode.py +++ b/auto_rx/autorx/decode.py @@ -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