Commit 777dfbdf authored by Čermák Petr's avatar Čermák Petr
Browse files

Fix missing f

parent f92755b8
......@@ -136,8 +136,8 @@ class XRaySource(base.DiscreteOutput):
def Reset(self):
# set correct target parameters
self._iodev.Communicate('BEAM {self.targetcurrent}')
self._iodev.Communicate('KV {self.targetvoltage}')
self._iodev.Communicate(f'BEAM {self.targetcurrent}')
self._iodev.Communicate(f'KV {self.targetvoltage}')
# This should be called periodically
def state(self):
......
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