From 68d956f6594124591e890f7f28890900de6c7792 Mon Sep 17 00:00:00 2001 From: sagi Date: Thu, 12 Nov 2015 03:04:23 +0000 Subject: [PATCH] make redirect work again --- letsencrypt/client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/letsencrypt/client.py b/letsencrypt/client.py index bf99a55dd..2b19176c2 100644 --- a/letsencrypt/client.py +++ b/letsencrypt/client.py @@ -371,12 +371,14 @@ class Client(object): client. """ + redirect = config.redirect + if self.installer is None: logger.warning("No installer is specified, there isn't any " "configuration to enhance.") raise errors.Error("No installer available") - if config.redirect is None: + if redirect is None: redirect = enhancements.ask("redirect") # When support for more enhancements are added, the call to the