Merge pull request #56 from Louis-Kenzo/wip/unicode

Handle Unicode decode errors by continuing to process
This commit is contained in:
Johann Dreo 2014-02-02 08:03:05 -08:00
commit c8926ee770

View file

@ -567,6 +567,8 @@ def map_write( stream_in, stream_out, function, *args ):
while True:
try:
item = stream_in.readline()
except UnicodeDecodeError:
continue
except KeyboardInterrupt:
break
if not item: