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)