Skip to content

Commit e0668c5

Browse files
committed
Restore encoding
1 parent 947a25a commit e0668c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memory_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ def show_results(prof, stream=None, precision=1):
773773
mem = u''
774774
inc = u''
775775
tmp = template.format(lineno, mem, inc, all_lines[lineno - 1])
776-
stream.write(unicode(tmp))
776+
stream.write(unicode(tmp, 'UTF-8'))
777777
stream.write(u'\n\n')
778778

779779

0 commit comments

Comments
 (0)