diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 3dd53f011..092b79577 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -1062,8 +1062,7 @@ class DomainFlagProcessor(argparse.Action): # pylint: disable=missing-docstring Process a new -d flag, helping the webroot plugin construct a map of {domain : webrootpath} if -w / --webroot-path is in use """ - if not config.domains: - config.domains = [] + if not config.domains: config.domains = [] new_domains = [d.strip() for d in domain_arg.split(",") if d not in config.domains] config.domains.extend(new_domains)