From c90de8b9a40124c9e859d00d995e3e8133941a12 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 10 Jul 2016 13:16:23 +0200 Subject: [PATCH] fix sysinfo for py3 --- netlib/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlib/debug.py b/netlib/debug.py index fcd72a218..29c7f655a 100644 --- a/netlib/debug.py +++ b/netlib/debug.py @@ -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