From a44a0ee6ef43ef76d2a7e1063ade61277ec1f0df Mon Sep 17 00:00:00 2001 From: x03daop Date: Thu, 8 Sep 2016 14:26:01 +0200 Subject: [PATCH] Script execution --- script/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 7b5e3f07..16bae327 100644 --- a/script/local.py +++ b/script/local.py @@ -274,7 +274,7 @@ def adjust_sensors(): for dev in ["Counts"]: if dev in SENSORS: SENSORS=[SENSORS.pop(SENSORS.index(dev))] + SENSORS - if "Scienta.dataMatrix" or Scienta.dataMatrix in SENSORS: + if "Scienta.dataMatrix" in SENSORS or Scienta.dataMatrix in SENSORS: print "Not ACC" set_context(accumulate = False)