X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/a36c0e8d8d94eae0353e5bff14ac837e17139671..a9a34aa1c9b9f9f182ed56b53d9042b63ea6023f:/examples/particulates.py?ds=inline diff --git a/examples/particulates.py b/examples/particulates.py index 9aa9c37..04a4950 100755 --- a/examples/particulates.py +++ b/examples/particulates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import time from pms5003 import PMS5003, ReadTimeoutError @@ -23,7 +23,6 @@ try: try: readings = pms5003.read() logging.info(readings) - time.sleep(1.0) except ReadTimeoutError: pms5003 = PMS5003() except KeyboardInterrupt: