Skip to content

Commit

Permalink
Fixed trigger sound wave null bug when removing trigger sound (google…
Browse files Browse the repository at this point in the history
  • Loading branch information
drFerg authored and drigz committed Oct 25, 2017
1 parent ce97095 commit cb558fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aiy/_drivers/_status_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def set_trigger_sound_wave(self, trigger_sound_wave):
"""
if not trigger_sound_wave:
self._trigger_sound_wave = None
return
expanded_path = os.path.expanduser(trigger_sound_wave)
if os.path.exists(expanded_path):
self._trigger_sound_wave = expanded_path
Expand Down

0 comments on commit cb558fa

Please sign in to comment.