summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-03-07 15:19:31 (GMT)
committerGuido van Rossum <guido@python.org>2000-03-07 15:19:31 (GMT)
commit2663c13c5bed61f32135446e49429c886a562489 (patch)
treea298ca4b71d607f9d41fbaa056835543f7d3b92c /Lib/aifc.py
parent801296c3b959d2225f2b7b2682bad3a980fe7e88 (diff)
downloadcpython-2663c13c5bed61f32135446e49429c886a562489.zip
cpython-2663c13c5bed61f32135446e49429c886a562489.tar.gz
cpython-2663c13c5bed61f32135446e49429c886a562489.tar.bz2
Sjoerd Mullender:
The (relatively) new chunk module uses seek, not setpos. One instance of the call still needed to be fixed.
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index f7288d5..0af6622 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -404,7 +404,7 @@ class Aifc_read:
dummy = self._ssnd_chunk.read(8)
pos = self._soundpos * self._framesize
if pos:
- self._ssnd_chunk.setpos(pos + 8)
+ self._ssnd_chunk.seek(pos + 8)
self._ssnd_seek_needed = 0
if nframes == 0:
return ''