Skip to content

Commit 4abb4d2

Browse files
committed
Fixed logger error in python3
1 parent bf20f9e commit 4abb4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def printtail(out, name, forecolor, tail_n=0,
192192
else:
193193
info('{} (last {} lines of {}):\n{}\t{}{}'.format(
194194
name, tail_n, len(lines),
195-
forecolor, '\t\n'.join(lines[-tail_n:]),
195+
forecolor, '\t\n'.join([s.decode('utf-8') for s in lines[-tail_n:]]),
196196
Out_Fore.RESET))
197197
printtail(err.stdout, 'STDOUT', Out_Fore.YELLOW, tail_n,
198198
re.compile(filter_in) if filter_in else None,

0 commit comments

Comments
 (0)