Skip to content

Commit

Permalink
Don't forget self (google#124)
Browse files Browse the repository at this point in the history
flake8 testing of https://github.com/google/aiyprojects-raspbian on Python 3.6.2

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./src/aiy/_drivers/_status_ui.py:54:13: F821 undefined name 'self'
            self.trigger_sound_wave = os.path.expanduser(trigger_sound_wave)
            ^

./src/aiy/_drivers/_status_ui.py:60:13: F821 undefined name 'self'
            self.trigger_sound_wave = None
            ^

2       F821 undefined name 'self'
```
  • Loading branch information
cclauss authored and drigz committed Aug 28, 2017
1 parent 67cba31 commit 2113193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiy/_drivers/_status_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, led_fifo=_LED_FIFO):
led_fifo)
self.led_fifo = None

def set_trigger_sound_wave(trigger_sound_wave):
def set_trigger_sound_wave(self, trigger_sound_wave):
"""Sets the trigger sound.
A trigger sound is played when the status is 'listening' to indicate
that the assistant is actively listening to the user.
Expand Down

0 comments on commit 2113193

Please sign in to comment.