Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ndev/asr.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def __read_wav_file_in_chunks(filepath):
print " Audio File %s" % filepath
data = file_to_play.readframes(ASR.chunk_size)
total_chunks = 0
while data != '':
while data != b'':
total_chunks += len(data)
stdout.write("\r Bytes Sent %d/%d \t%d%% " % (total_chunks,total_size,100*total_chunks/total_size))
stdout.flush()
Expand Down