Fix mypy error

This commit is contained in:
Andre Basche 2023-05-07 00:48:42 +02:00
parent ccff32e6c1
commit 2bde6bb61c
1 changed files with 2 additions and 2 deletions

View File

@ -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"