fix sysinfo for py3
This commit is contained in:
parent
6762c6f5a2
commit
c90de8b9a4
|
@ -17,7 +17,7 @@ def sysinfo():
|
||||||
"Mitmproxy version: %s" % version.VERSION,
|
"Mitmproxy version: %s" % version.VERSION,
|
||||||
"Python version: %s" % platform.python_version(),
|
"Python version: %s" % platform.python_version(),
|
||||||
"Platform: %s" % platform.platform(),
|
"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()
|
d = platform.linux_distribution()
|
||||||
t = "Linux distro: %s %s %s" % d
|
t = "Linux distro: %s %s %s" % d
|
||||||
|
|
Loading…
Reference in New Issue