Update parameter.py to support missing parameter in some cases with HW5600
This commit is contained in:
parent
ec7355e341
commit
f00ee03c0d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class HonParameter:
|
|||
class HonParameterFixed(HonParameter):
|
||||
def __init__(self, key, attributes):
|
||||
super().__init__(key, attributes)
|
||||
self._value = attributes["fixedValue"]
|
||||
self._value = attributes.get("fixedValue", None)
|
||||
|
||||
def __repr__(self):
|
||||
return f"{self.__class__} (<{self.key}> fixed)"
|
||||
|
|
Loading…
Reference in a new issue