Sjoerd Mullender:

The (relatively) new chunk module uses seek, not setpos.  One instance
of the call still needed to be fixed.
This commit is contained in:
Guido van Rossum 2000-03-07 15:19:31 +00:00
parent 801296c3b9
commit 2663c13c5b
1 changed files with 1 additions and 1 deletions

View File

@ -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 ''