Skip to content

Commit 6347008

Browse files
authored
Merge pull request #30 from adafruit/pylint-fix
Fixed linting
2 parents 3ac725f + 35cc329 commit 6347008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/trellism4_wavefile_synth/trellism4_wavefile_synth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# if it's a note key. First 7 columns.
9393
if key[0] < len(note_letters):
9494
# if we aren't already playing this note and we have available voice
95-
if key not in used_voices.keys() and available_voices:
95+
if key not in used_voices and available_voices:
9696
# build not string
9797
note_for_key = "{}{}".format(note_letters[key[0]], key[1] + 3)
9898
note_to_play = "{}{}".format(current_wave_type, note_for_key)

0 commit comments

Comments
 (0)