fix sysinfo for py3

This commit is contained in:
Thomas Kriechbaumer 2016-07-10 13:16:23 +02:00
parent 6762c6f5a2
commit c90de8b9a4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def sysinfo():
"Mitmproxy version: %s" % version.VERSION,
"Python version: %s" % platform.python_version(),
"Platform: %s" % platform.platform(),
"SSL version: %s" % SSL.SSLeay_version(SSL.SSLEAY_VERSION),
"SSL version: %s" % SSL.SSLeay_version(SSL.SSLEAY_VERSION).decode(),
]
d = platform.linux_distribution()
t = "Linux distro: %s %s %s" % d