diff options
author | Guido van Rossum <guido@python.org> | 2000-03-07 15:19:31 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-07 15:19:31 +0000 |
commit | 2663c13c5bed61f32135446e49429c886a562489 (patch) | |
tree | a298ca4b71d607f9d41fbaa056835543f7d3b92c /Lib/aifc.py | |
parent | 801296c3b959d2225f2b7b2682bad3a980fe7e88 (diff) | |
download | cpython-git-2663c13c5bed61f32135446e49429c886a562489.tar.gz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index f7288d5aa6..0af66228c2 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 '' |