Skip to content

Commit 663c2fa

Browse files
Update src/textual/getters.py
Co-authored-by: TomJGooding <[email protected]>
1 parent 363fe22 commit 663c2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/getters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ def __get__(
181181
raise NoMatches(f"No child found with id={self.child_id!r}")
182182
if not isinstance(child, self.expect_type):
183183
raise WrongType(
184-
f"Child with id={id!r} is the wrong type; expected type {self.expect_type.__name__!r}, found {child}"
184+
f"Child with id={self.child_id!r} is the wrong type; expected type {self.expect_type.__name__!r}, found {child}"
185185
)
186186
return child

0 commit comments

Comments
 (0)