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

lib/standalone.py: output is UTF-8

This commit is contained in:
Igor Chubin
2019-05-01 20:43:32 +02:00
parent 73fb9cc861
commit eef1485867
+1 -1
View File
@@ -45,7 +45,7 @@ def main(args):
query, request_options = parse_cmdline(args)
answer, _ = cheat_wrapper.cheat_wrapper(query, request_options=request_options)
sys.stdout.write(answer)
sys.stdout.write(answer.encode("utf-8"))
if __name__ == '__main__':
main(sys.argv[1:])