We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378af3a commit e338065Copy full SHA for e338065
ltk/widgets.py
@@ -658,7 +658,7 @@ def __getattr__(self, name):
658
try:
659
return getattr(self.value, name)
660
except Exception as e:
661
- raise AttributeError(f"Model attribute {self.__class__.__name__} does not have attribute {name}") from e
+ raise AttributeError(f"Model attribute {self.model.__class__.__name__}.{self.name} of type {type(self.value)} does not have attribute {name}") from e
662
663
def __int__(self): return int(self.value) # pylint: disable=multiple-statements
664
def __bool__(self): return bool(self.value) # pylint: disable=multiple-statements
0 commit comments