From b2eb5ea10144596299bc0a1dfbc4ff789d77eb46 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 27 Aug 2019 23:49:06 +0200 Subject: [PATCH] Fix wo_subdomain --- wo/cli/plugins/site.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index 13ec710..381f2c4 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -770,9 +770,6 @@ class WOSiteCreateController(CementBaseController): data['letsencrypt'] = True letsencrypt = True if data['letsencrypt'] is True: - if (wo_domain_type == 'subdomain' and - (not pargs.letsencrypt == 'wildcard')): - pargs.letsencrypt == 'subdomain' if pargs.dns: wo_acme_dns = pargs.dns wo_dns = True @@ -788,6 +785,9 @@ class WOSiteCreateController(CementBaseController): else: wo_wildcard = False wo_subdomain = False + if ((wo_domain_type == 'subdomain') and + (not pargs.letsencrypt == 'wildcard')): + wo_subdomain = True setupLetsEncrypt(self, wo_domain, wo_subdomain, wo_wildcard, wo_dns, wo_acme_dns)