16 lines
276 B
Python
16 lines
276 B
Python
#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"
|
|
|
|
|
|
|