diff --git a/Grand_Central_Soundboard/code.py b/Grand_Central_Soundboard/code.py index 3215d6eb..97dbbbe0 100644 --- a/Grand_Central_Soundboard/code.py +++ b/Grand_Central_Soundboard/code.py @@ -28,7 +28,7 @@ gc_audio = audioio.AudioOut(board.A0) audio_file = None def play_file(filename): - global audio_file + global audio_file # pylint: disable=global-statement if gc_audio.playing: gc_audio.stop() if audio_file: @@ -49,4 +49,4 @@ while True: gc_audio.stop() if audio_file: audio_file.close() - time.sleep(0.1) \ No newline at end of file + time.sleep(0.1)