mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-01-19 02:50:44 +00:00
Fix mypy error
This commit is contained in:
parent
ccff32e6c1
commit
2bde6bb61c
|
@ -13,9 +13,9 @@ class HonParameterProgram(HonParameterEnum):
|
|||
super().__init__(key, {}, group)
|
||||
self._command = command
|
||||
if "PROGRAM" in command.category:
|
||||
self._value: str = command.category.split(".")[-1].lower()
|
||||
self._value = command.category.split(".")[-1].lower()
|
||||
else:
|
||||
self._value: str = command.category
|
||||
self._value = command.category
|
||||
self._programs: Dict[str, "HonCommand"] = command.categories
|
||||
self._typology: str = "enum"
|
||||
|
||||
|
|
Loading…
Reference in a new issue