diff --git a/obd/elm327.py b/obd/elm327.py index b543effc..c50c8de4 100644 --- a/obd/elm327.py +++ b/obd/elm327.py @@ -549,6 +549,7 @@ def __read(self, end_marker=ELM_PROMPT): # end on specified end-marker sequence if end_marker in buffer: + # if self.ELM_PROMPT in buffer or ((self.ELM_LP_ACTIVE in buffer) and (b"BUS INIT: OK\r" not in buffer)): break # log, and remove the "bytearray( ... )" part diff --git a/setup.py b/setup.py index a5e30300..12e177dd 100644 --- a/setup.py +++ b/setup.py @@ -30,5 +30,5 @@ packages=find_packages(), include_package_data=True, zip_safe=False, - install_requires=["pyserial==3.*", "pint==0.20.*"], + install_requires=["pyserial==3.*", "pint==0.7.*"], )