Commit d942813036f by Julien Salort

Fix BoolValue when channel_argument is True

parent 15cb32bea94
......@@ -196,7 +196,7 @@ class Value(SuperValue):
if self.channel_argument:
# here we don't call _convert_as_str to allow the user to choose
# the desired format in the command_set string
command = self.command_set.format(channel=channel, value=value)
command = self.command_set.format(channel=channel, value=self._convert_as_str(value))
else:
command = self.command_set + " " + self._convert_as_str(value)
self._interface.write(command)
......
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