diff --git a/script/local.py b/script/local.py index ad274291..b497277c 100644 --- a/script/local.py +++ b/script/local.py @@ -208,7 +208,8 @@ def after_readout(rec): append_diag_datasets() def adjust_sensors(): - if SENSORS is not None: + global SENSORS + if (SENSORS is not None) and isinstance(SENSORS,list): # Move integration to end for dev in [Integration, AngleDistribution]: if dev in SENSORS: