From 8a29383ea8e0f14926a2a5a4413015db51c1089f Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sun, 28 Apr 2019 22:04:18 +0200 Subject: [PATCH] move return ssl --- wo/cli/plugins/site_functions.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 807716d..cb20254 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1147,7 +1147,7 @@ def detSitePar(opts): def generate_random(): wo_random10 = (''.join(random.sample(string.ascii_uppercase + string.ascii_lowercase + - string.digits, 16))) + string.digits, 24))) return wo_random10 @@ -1408,8 +1408,6 @@ def setupLetsEncryptSubdomain(self, wo_domain_name): "\n to allow it to verify the site automatically.") # letsencrypt cert renewal - - def renewLetsEncrypt(self, wo_domain_name): ssl = WOShellExec.cmd_exec( @@ -1642,4 +1640,4 @@ def archivedCertificateHandle(self, domain): '/var/www/{0}/conf/nginx/ssl.conf.bak' .format(domain)) - return ssl + return ssl