Show More
@@ -603,7 +603,9 b' class InputSplitter(object):' | |||||
603 |
|
603 | |||
604 | If input lines are not newline-terminated, a newline is automatically |
|
604 | If input lines are not newline-terminated, a newline is automatically | |
605 | appended.""" |
|
605 | appended.""" | |
606 |
|
606 | if not isinstance(lines, unicode): | ||
|
607 | lines = lines.decode(self.encoding) | |||
|
608 | ||||
607 | if buffer is None: |
|
609 | if buffer is None: | |
608 | buffer = self._buffer |
|
610 | buffer = self._buffer | |
609 |
|
611 |
General Comments 0
You need to be logged in to leave comments.
Login now