Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle str-typed empty return from readframes. #107

Merged
merged 1 commit into from Jul 14, 2015

Conversation

christophebiocca
Copy link
Contributor

There's a bug in python3.4's wave library that leads to readframes() returning a str (specifically ''), not bytes.

This leads to a crash when trying to pass data back to writeframes().

This is a workaround to the problem.

There's a [bug](http://bugs.python.org/issue24608) in python3.4's `wave` library that leads to `readframes()` returning a str (specifically `''`), not bytes.

This leads to a crash when trying to pass data back to `writeframes()`.

This is a workaround to the problem.
jiaaro added a commit that referenced this pull request Jul 14, 2015
Handle str-typed empty return from readframes.
@jiaaro jiaaro merged commit 28094bb into jiaaro:master Jul 14, 2015
@jiaaro
Copy link
Owner

jiaaro commented Jul 14, 2015

Thanks, very strange bug - I'll add a comment explaining the line too

@jiaaro
Copy link
Owner

jiaaro commented Jul 14, 2015

This bug fix is available in v0.14.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants