From 1ee24745ee54cb8fe92669b3be49e7d228c17971 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Mar 2014 08:16:01 +0530 Subject: [PATCH] ... --- setup/linux-installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/linux-installer.py b/setup/linux-installer.py index e70e806b54..ddfe093c8c 100644 --- a/setup/linux-installer.py +++ b/setup/linux-installer.py @@ -449,7 +449,7 @@ def match_hostname(cert, hostname): % (hostname, ', '.join(map(repr, dnsnames)))) elif len(dnsnames) == 1: # python 2.6 does not read subjectAltName, so we do the best we can - if sys.version_info[:2] == (2, 6): + if sys.version_info[:2] <= (2, 6): if dnsnames[0] == 'calibre-ebook.com': return raise CertificateError("hostname %r "