Skip to content

Commit

Permalink
add a contextmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 17, 2024
1 parent 9baa65c commit ac3cfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def play_camera_sound(self):
def handle_take_picture(self, message):
try:
with self.camera as cam:
self.speak("get_ready", wait=True)
self.speak_dialog("get_ready", wait=True)
# need time to Allow sensor to stabilize
self.gui.show_text("3")
self.speak("3", wait=True)
Expand Down

0 comments on commit ac3cfd1

Please sign in to comment.