Commit 815cfda6 authored by Andre Julius's avatar Andre Julius 👀
Browse files

Fix never ending while loop

parent 43cfd7ff
......@@ -17,6 +17,6 @@ def play(filename):
output=True
)
data = wave_file.readframes(chunk)
while data != '':
while len(data) > 0:
stream.write(data)
data = wave_file.readframes(chunk)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment