summaryrefslogtreecommitdiffstats
path: root/Lib/toaiff.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/toaiff.py')
-rw-r--r--Lib/toaiff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index adb2e61..d2f5cd7 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -9,7 +9,7 @@
import os
import tempfile
import pipes
-import sndhdr
+import whatsound
table = {}
@@ -78,7 +78,7 @@ def _toaiff(filename, temps):
else:
fname = filename
try:
- ftype = sndhdr.whathdr(fname)
+ ftype = whatsound.whathdr(fname)
if ftype:
ftype = ftype[0] # All we're interested in
except IOError: