Issue #8897: Fix sunau module, use bytes to write the header. Patch written by

Thomas Jollans.
This commit is contained in:
Victor Stinner 2010-06-07 20:14:04 +00:00
parent 7eeb5b5e50
commit 7f3652e371
4 changed files with 75 additions and 1 deletions

View file

@ -299,7 +299,7 @@ class Au_write:
self._nframeswritten = 0
self._datawritten = 0
self._datalength = 0
self._info = ''
self._info = b''
self._comptype = 'ULAW' # default is U-law
def setnchannels(self, nchannels):