Commit 3fc95828 authored by Guido van Rossum's avatar Guido van Rossum

Amazing. This would open the sound file in text mode. Fixed.

SF bug  #446219.
parent ce5f13ae
......@@ -40,7 +40,7 @@ def what(filename):
def whathdr(filename):
"""Recognize sound headers"""
f = open(filename, 'r')
f = open(filename, 'rb')
h = f.read(512)
for tf in tests:
res = tf(h, f)
......
Markdown is supported
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