diff python/sensors.py @ 1012:01db14e947e4

resolved
author Wendlasida
date Fri, 01 Jun 2018 10:47:49 -0400
parents 933670761a57
children
line wrap: on
line diff
--- a/python/sensors.py	Fri Jun 01 10:43:23 2018 -0400
+++ b/python/sensors.py	Fri Jun 01 10:47:49 2018 -0400
@@ -58,7 +58,7 @@
         else:
             detectionInstants.append(mean(instants))
     result = True
-    for i in xrange(len(sensors)-1):
+    for i in range(len(sensors)-1):
         result = result and (detectionInstants[i] <= detectionInstants[i+1])
         if not result:
             return result