Fix #456
This commit is contained in:
parent
ee680c1aae
commit
9609bc0084
2
buku
2
buku
@ -4211,6 +4211,8 @@ def print_single_rec(row, idx=0): # NOQA
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print(''.join(str_list))
|
print(''.join(str_list))
|
||||||
|
except UnicodeEncodeError:
|
||||||
|
sys.stdout.buffer.write((''.join(str_list) + '\n').encode('utf-8'))
|
||||||
except BrokenPipeError:
|
except BrokenPipeError:
|
||||||
sys.stdout = os.fdopen(1)
|
sys.stdout = os.fdopen(1)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user