Fixed making redirect signature work

This commit is contained in:
Roland Hedberg
2014-12-15 11:59:13 +01:00
parent 845272f97d
commit 3d2fe2332a

View File

@@ -137,7 +137,7 @@ class Entity(HTTPBase):
try:
self.signkey = RSA.importKey(
open(self.config.getattr("key_file", ""), 'r').read())
except KeyError:
except (KeyError, TypeError):
self.signkey = None
HTTPBase.__init__(self, self.config.verify_ssl_cert,