Skip to content

Commit 9bbbb74

Browse files
committed
Fix bug in pyportal screensize properties
1 parent 47df049 commit 9bbbb74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skyportal/pyportal_compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ def __init__(self, tz: str) -> None:
4343

4444
@property
4545
def width(self) -> int: # noqa: D102
46-
return self.display.display.width # type: ignore[no-any-return]
46+
return self.display.width # type: ignore[no-any-return]
4747

4848
@property
4949
def height(self) -> int: # noqa: D102
50-
return self.display.display.height # type: ignore[no-any-return]
50+
return self.display.height # type: ignore[no-any-return]
5151

5252
def get_local_time(self) -> str:
5353
"""

0 commit comments

Comments
 (0)