From: Guido van Rossum Date: Mon, 9 Oct 2000 20:01:53 +0000 (+0000) Subject: Fix by Jean-Claude Rimbault [ Bug #116271 ] -- the WAVE header was X-Git-Tag: v2.0c1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eca576c68be8299b006251eeea0f23068520ed57;p=python Fix by Jean-Claude Rimbault [ Bug #116271 ] -- the WAVE header was never written properly because the '4' length indicators for the 's' format characters were missing. --- diff --git a/Lib/wave.py b/Lib/wave.py index c8cf997eca..49e070f893 100644 --- a/Lib/wave.py +++ b/Lib/wave.py @@ -439,7 +439,7 @@ class Wave_write: self._nframes = initlength / (self._nchannels * self._sampwidth) self._datalength = self._nframes * self._nchannels * self._sampwidth self._form_length_pos = self._file.tell() - self._file.write(struct.pack('