aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-07-10 13:16:23 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-07-10 13:16:23 +0200
commitc90de8b9a40124c9e859d00d995e3e8133941a12 (patch)
tree343e88baa3197fb9de6e00b4f771a28ae77fb13c
parent6762c6f5a28726eaa7703e47fdd3290becdbc14a (diff)
downloadmitmproxy-c90de8b9a40124c9e859d00d995e3e8133941a12.tar.gz
mitmproxy-c90de8b9a40124c9e859d00d995e3e8133941a12.tar.bz2
mitmproxy-c90de8b9a40124c9e859d00d995e3e8133941a12.zip
fix sysinfo for py3
-rw-r--r--netlib/debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/debug.py b/netlib/debug.py
index fcd72a21..29c7f655 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