Capture exception message (PyChecker)
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index a2b6d6e..f0c5c86 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -86,7 +86,7 @@
         ftype = sndhdr.whathdr(fname)
         if ftype:
             ftype = ftype[0] # All we're interested in
-    except IOError:
+    except IOError, msg:
         if type(msg) == type(()) and len(msg) == 2 and \
                 type(msg[0]) == type(0) and type(msg[1]) == type(''):
             msg = msg[1]