3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

Fix for python decoding of command line output strings

Fixes #302
This commit is contained in:
Christoph M. Wintersteiger 2015-11-13 17:15:04 +00:00
parent 15c48eeaf9
commit 27dcd8c5b6
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ if sys.version < '3':
return s
else:
def _to_pystr(s):
return s.decode('utf-8')
return s.decode(sys.stdout.encoding)
def init(PATH):
global _lib