From 5ee448c2456f9e2f30e6647357e36c30f2296a28 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Wed, 31 Aug 2016 20:06:17 -0400 Subject: [PATCH 1/2] making notes --- obd/elm327.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obd/elm327.py b/obd/elm327.py index c469975b..7850413a 100644 --- a/obd/elm327.py +++ b/obd/elm327.py @@ -454,7 +454,7 @@ def __read(self): # log, and remove the "bytearray( ... )" part logger.debug("read: " + repr(buffer)[10:-1]) - # clean out any null characters +#does this clear out needed nulls? # clean out any null characters buffer = re.sub(b"\x00", b"", buffer) # remove the prompt character From b79310109920579f4eb7b45015f558f4f17ae847 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Sun, 11 Sep 2016 11:40:52 -0400 Subject: [PATCH 2/2] undoing notes --- obd/elm327.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obd/elm327.py b/obd/elm327.py index 7850413a..c469975b 100644 --- a/obd/elm327.py +++ b/obd/elm327.py @@ -454,7 +454,7 @@ def __read(self): # log, and remove the "bytearray( ... )" part logger.debug("read: " + repr(buffer)[10:-1]) -#does this clear out needed nulls? # clean out any null characters + # clean out any null characters buffer = re.sub(b"\x00", b"", buffer) # remove the prompt character