Skip to content

Commit

Permalink
fix: deprecation log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 15, 2024
1 parent 9299142 commit fef1147
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ def mark1_wake_up_animation(self, message: Message):
# GUI integration
def display_sleep_face(self) -> None:
"""Display the sleeping face depending on the platform."""
self.gui.show_page("resting.qml", override_idle=True)
self.gui.show_page("resting", override_idle=True)

def display_waking_face(self) -> None:
"""Display the waking face depending on the platform."""
self.gui.remove_page("resting.qml")
self.gui.show_page("awake.qml", override_idle=5)
self.gui.remove_page("resting")
self.gui.show_page("awake", override_idle=5)
# TODO Screen not reverting after the specified 5 seconds.
# The following 2 lines shouldn't be needed. Remove when fixed.
time.sleep(5)
Expand Down

0 comments on commit fef1147

Please sign in to comment.