Commit 7cb8613d authored by cermak's avatar cermak
Browse files

fix typo

Change-Id: I289a3bbf94b18a500c2d3455256957bcdc22c4f2
parent 0effe573
......@@ -143,8 +143,6 @@ class XRaySource(base.DiscreteOutput):
# parse status string
# 'STATUS Off HV .00 0.00 Beam 0.0 0.0 Safe Infocus'
res = res.split()
_, state, _, self._U, self._targetU, _, self._I, self._targetI, \
self._doorsclosed, self._status = res.split()
# parse values
self._state = {'On': 1, 'Off': 0}.get(res[1])
self._U = float(res[3])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment