Show More
@@ -69,7 +69,7 b' class OutStream(object):' | |||||
69 | else: |
|
69 | else: | |
70 | # Make sure that we're handling unicode |
|
70 | # Make sure that we're handling unicode | |
71 | if not isinstance(string, unicode): |
|
71 | if not isinstance(string, unicode): | |
72 |
enc = encoding. |
|
72 | enc = encoding.DEFAULT_ENCODING | |
73 | string = string.decode(enc, 'replace') |
|
73 | string = string.decode(enc, 'replace') | |
74 |
|
74 | |||
75 | self._buffer.write(string) |
|
75 | self._buffer.write(string) |
General Comments 0
You need to be logged in to leave comments.
Login now