1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

utf-8 workaround for python 2.x

This commit is contained in:
Igor Chubin
2019-07-07 11:04:57 +00:00
parent 515c2c43b7
commit 668fdcf21f
+1 -1
View File
@@ -19,7 +19,7 @@ def _answer_add_comments(answer, request_options=None):
filetype = filetype[2:]
answer['answer'] = fmt.comments.beautify(
answer['answer'].encode('utf-8'), filetype, request_options)
answer['answer'], filetype, request_options)
answer['format'] = 'code'
return answer