Commit 37ad398e authored by cermak's avatar cermak
Browse files

fix

Change-Id: I0bb51800f14ea07dde88439152f9a9f42f1ecf38
parent a3769853
......@@ -200,7 +200,6 @@ class XRaySource(base.DiscreteOutput):
return self._state
def write_value(self, value):
self._iodev.Communicate(f'XRAY { {1: 'ON', 0: 'OFF'}.value }')
self.state()
value = {1: 'ON', 0: 'OFF'}.value
self._iodev.Communicate(f'XRAY {value}')
self.state()
\ No newline at end of file
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