From 2ca057e7cedbaa81c453fcc171b6e8b87429d3fe Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 23 Sep 2019 01:14:59 +0200 Subject: [PATCH] Fix acme return true --- wo/core/acme.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wo/core/acme.py b/wo/core/acme.py index e870681..4acbaa7 100644 --- a/wo/core/acme.py +++ b/wo/core/acme.py @@ -62,8 +62,9 @@ class WOAcme: "You can find more informations in " "/var/log/wo/wordops.log", False) return False - Log.valide(self, "Issuing SSL cert with acme.sh") - return True + else: + Log.valide(self, "Issuing SSL cert with acme.sh") + return True def deploycert(self, wo_domain_name): wo_acme_exec = ("/etc/letsencrypt/acme.sh --config-home "