From 88d4a7da5532a95edf2796dbeadb397624f0b46e Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Thu, 11 Jan 2018 16:57:04 +0200 Subject: [PATCH] Initialize addrs_to_add --- certbot-nginx/certbot_nginx/challenges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-nginx/certbot_nginx/challenges.py b/certbot-nginx/certbot_nginx/challenges.py index a7d57b485..946340704 100644 --- a/certbot-nginx/certbot_nginx/challenges.py +++ b/certbot-nginx/certbot_nginx/challenges.py @@ -76,7 +76,7 @@ class NginxChallengePerformer(common.ChallengePerformer): for achall in self.achalls: vhost = self.configurator.choose_vhost(achall.domain, create_if_no_match=True) - + addrs_to_add = None if vhost is not None and vhost.addrs: if ssl: addrs_to_add = vhost.addrs