summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 20:14:04 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 20:14:04 (GMT)
commit7f3652e37156a4794c04a70e93c339d7d58a52f2 (patch)
treeabd6510f72195675f53eebbba41d7100aea11ea0 /Lib/sunau.py
parent7eeb5b5e5017cf1354b084327b49390044946069 (diff)
downloadcpython-7f3652e37156a4794c04a70e93c339d7d58a52f2.zip
cpython-7f3652e37156a4794c04a70e93c339d7d58a52f2.tar.gz
cpython-7f3652e37156a4794c04a70e93c339d7d58a52f2.tar.bz2
Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
Thomas Jollans.
Diffstat (limited to 'Lib/sunau.py')
-rw-r--r--Lib/sunau.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py
index 4d07f43..5f50e8f 100644
--- a/Lib/sunau.py
+++ b/Lib/sunau.py
@@ -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):