Improve output

This commit is contained in:
Andre Basche 2023-05-06 20:00:13 +02:00
parent ea8f481b01
commit dd61b24eed
5 changed files with 63 additions and 41 deletions

View file

@ -23,7 +23,7 @@ class HonParameterProgram(HonParameterEnum):
@value.setter
def value(self, value: str) -> None:
if value in self.values:
self._command.program = value
self._command.category = value
else:
raise ValueError(f"Allowed values {self.values}")