mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 14:44:28 -04:00
Improve output
This commit is contained in:
parent
ea8f481b01
commit
dd61b24eed
5 changed files with 63 additions and 41 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue