diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-24 18:49:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-24 18:49:15 (GMT) |
commit | 0652a4e7d5cf0f2480e205e84425e7406d84655b (patch) | |
tree | 9633fae4bacf67ca6ea7bf3fcd480dbd0ff8c013 | |
parent | dbc8364e1f87af2da46a1b4759d1e2811bd2b640 (diff) | |
download | cpython-0652a4e7d5cf0f2480e205e84425e7406d84655b.zip cpython-0652a4e7d5cf0f2480e205e84425e7406d84655b.tar.gz cpython-0652a4e7d5cf0f2480e205e84425e7406d84655b.tar.bz2 |
Use sndhdr instead of the obsolete whatsound module.
-rw-r--r-- | Lib/toaiff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/toaiff.py b/Lib/toaiff.py index 0001be0..1e73526 100644 --- a/Lib/toaiff.py +++ b/Lib/toaiff.py @@ -9,7 +9,7 @@ import os import tempfile import pipes -import whatsound +import sndhdr table = {} @@ -78,7 +78,7 @@ def _toaiff(filename, temps): else: fname = filename try: - ftype = whatsound.whathdr(fname) + ftype = sndhdr.whathdr(fname) if ftype: ftype = ftype[0] # All we're interested in except IOError: |