Update python versions for CI (#96)
[EVA-2020-02-2.git] / examples / particulates.py
index 9aa9c37814a0bc3f6d34bf03f1df52d58fa3408f..04a49500b0adfaa388ebd89c42be8a9578d7634f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import time
 from pms5003 import PMS5003, ReadTimeoutError
 
 import time
 from pms5003 import PMS5003, ReadTimeoutError
@@ -23,7 +23,6 @@ try:
         try:
             readings = pms5003.read()
             logging.info(readings)
         try:
             readings = pms5003.read()
             logging.info(readings)
-            time.sleep(1.0)
         except ReadTimeoutError:
             pms5003 = PMS5003()
 except KeyboardInterrupt:
         except ReadTimeoutError:
             pms5003 = PMS5003()
 except KeyboardInterrupt: