aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/main.py')
-rw-r--r--libmproxy/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/main.py b/libmproxy/main.py
index e343bd75..f30b5928 100644
--- a/libmproxy/main.py
+++ b/libmproxy/main.py
@@ -22,7 +22,7 @@ def check_versions():
file=sys.stderr)
import OpenSSL, inspect
- v = [int(x) for x in OpenSSL.__version__.split(".")][:2]
+ v = tuple([int(x) for x in OpenSSL.__version__.split(".")][:2])
if v < (0, 14):
print("You are using an outdated version of pyOpenSSL: mitmproxy requires pyOpenSSL 0.14 or greater.",
file=sys.stderr)