Skip to content

Commit 1568495

Browse files
committed
Fixing unicode error
1 parent 6f7ef8a commit 1568495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def shprint(command, *args, **kwargs):
182182
'\t', ' ').replace(
183183
'\b', ' ').rstrip()
184184
if msg:
185-
sys.stdout.write('{}\r{}{:<{width}}'.format(
185+
sys.stdout.write(u'{}\r{}{:<{width}}'.format(
186186
Err_Style.RESET_ALL, msg_hdr,
187187
shorten_string(msg, msg_width), width=msg_width))
188188
sys.stdout.flush()

0 commit comments

Comments
 (0)