From 2663c13c5bed61f32135446e49429c886a562489 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 7 Mar 2000 15:19:31 +0000 Subject: [PATCH] Sjoerd Mullender: The (relatively) new chunk module uses seek, not setpos. One instance of the call still needed to be fixed. --- Lib/aifc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/aifc.py b/Lib/aifc.py index f7288d5aa60..0af66228c28 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -404,7 +404,7 @@ def readframes(self, nframes): 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 ''