Sessions
This commit is contained in:
16
script/Tasks/DetectorsCheck.py
Normal file
16
script/Tasks/DetectorsCheck.py
Normal file
@@ -0,0 +1,16 @@
|
||||
#print "Detectors Check"
|
||||
|
||||
|
||||
for name, info in DETECTORS.items():
|
||||
path = info["path"]
|
||||
try:
|
||||
#print path,
|
||||
caget_str(path)
|
||||
info["enabled"] = True
|
||||
#print " ok"
|
||||
except:
|
||||
info["enabled"] = False
|
||||
#print " error"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user