From 63fe9f73c3fa3d699138a28b78976b142bdf0bc4 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Sun, 14 Jun 2020 09:22:39 -0700 Subject: [PATCH] kline_ll_recv return bytes --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/__init__.py b/python/__init__.py index dc1c892b..7c979b57 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -598,7 +598,7 @@ class Panda(object): if DEBUG and len(ret) > 0: print("kline recv: " + binascii.hexlify(ret)) echo += ret - return str(echo) + return bytes(echo) def kline_send(self, x, bus=2, checksum=True): def get_checksum(dat):