frappy.params: fix typo

Change-Id: I724615de8d8d6b44bc5aceded85bf40d2a5e96f7
This commit is contained in:
2025-06-05 10:22:07 +02:00
parent 3203c6c9b3
commit 404b38d91a

View File

@ -233,13 +233,13 @@ class Parameter(Accessible):
try:
return instance.parameters[self.name].value
except KeyError:
raise ProgrammingError(f'optional parameter {self.name} it is not implemented') from None
raise ProgrammingError(f'optional parameter {self.name} is not implemented') from None
def __set__(self, obj, value):
try:
obj.announceUpdate(self.name, value)
except KeyError:
raise ProgrammingError(f'optional parameter {self.name} it is not implemented') from None
raise ProgrammingError(f'optional parameter {self.name} is not implemented') from None
def __set_name__(self, owner, name):
self.name = name