mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Python 3.x string decoding fix
This commit is contained in:
parent
6b5e49c4a1
commit
706a037bf4
2 changed files with 8 additions and 2 deletions
|
@ -99,7 +99,7 @@ else:
|
|||
if s != None:
|
||||
enc = sys.stdout.encoding
|
||||
if enc != None: return s.decode(enc)
|
||||
else: return s
|
||||
else: return s.decode('ascii')
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue