summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/aifc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index a5f86be455..f663dd67d2 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -665,7 +665,8 @@ class Aifc_write:
## raise Error, 'cannot change parameters after starting to write'
## self._version = version
- def setparams(self, (nchannels, sampwidth, framerate, nframes, comptype, compname)):
+ def setparams(self, info):
+ nchannels, sampwidth, framerate, nframes, comptype, compname = info
if self._nframeswritten:
raise Error, 'cannot change parameters after starting to write'
if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):