mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 18:55:32 +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)
|
super().__init__(key, {}, group)
|
||||||
self._command = command
|
self._command = command
|
||||||
if "PROGRAM" in command.category:
|
if "PROGRAM" in command.category:
|
||||||
self._value: str = command.category.split(".")[-1].lower()
|
self._value = command.category.split(".")[-1].lower()
|
||||||
else:
|
else:
|
||||||
self._value: str = command.category
|
self._value = command.category
|
||||||
self._programs: Dict[str, "HonCommand"] = command.categories
|
self._programs: Dict[str, "HonCommand"] = command.categories
|
||||||
self._typology: str = "enum"
|
self._typology: str = "enum"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue