From 2bde6bb61c8ce7a15a7e0cb25b6eabbaeae84e6a Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 7 May 2023 00:48:42 +0200 Subject: [PATCH] Fix mypy error --- pyhon/parameter/program.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyhon/parameter/program.py b/pyhon/parameter/program.py index 1cf0008..8d3bdfc 100644 --- a/pyhon/parameter/program.py +++ b/pyhon/parameter/program.py @@ -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"