From 99a3df50c96d45571c4a473375ff85b80507e56d Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Wed, 21 Aug 2019 14:46:42 +0200 Subject: [PATCH] Script execution --- script/local.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 77bfc13..11ba9b8 100644 --- a/script/local.py +++ b/script/local.py @@ -231,11 +231,13 @@ def get_detectors(): assert issubclass(dev.__class__,Device) except: dev = None - if dev: ret.append(dev) + if dev: ret.append(dev) return ret def set_detectors(detectors): + """ + """ devs = [] if detectors: for d in detectors: