diff --git a/plantower/plantower.py b/plantower/plantower.py index ef78f9b..4354e1f 100644 --- a/plantower/plantower.py +++ b/plantower/plantower.py @@ -133,3 +133,4 @@ def read(self, perform_flush=True): self._verify(recv) # verify the checksum return PlantowerReading(recv) # convert to reading object #If the character isn't what we are expecting loop until timeout + raise PlantowerException("No message recieved") diff --git a/setup.py b/setup.py index 393747d..2cd1a03 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="plantower", - version="0.0.2", + version="0.0.3", author="Philip Basford", author_email="P.J.Basford@soton.ac.uk", description="An interface for plantower particulate matter sensors",