From 2bc216d81779de992a2bb0dfec799f3b162a2550 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 8 Apr 2019 13:01:13 +0200 Subject: [PATCH] fix ssl util --- wo/core/sslutils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wo/core/sslutils.py b/wo/core/sslutils.py index 1c00482..161a484 100644 --- a/wo/core/sslutils.py +++ b/wo/core/sslutils.py @@ -9,8 +9,8 @@ class SSL: # check if exist if not os.path.isfile('/etc/letsencrypt/live/{0}/cert.pem' .format(domain)): - Log.error(self, 'File Not Found: " - "/etc/letsencrypt/live/{0}/cert.pem'" + Log.error(self, 'File Not Found: ' + '/etc/letsencrypt/live/{0}/cert.pem' .format(domain), False) if returnonerror: return -1 @@ -38,8 +38,8 @@ class SSL: # check if exist if not os.path.isfile('/etc/letsencrypt/live/{0}/cert.pem' .format(domain)): - Log.error(self, 'File Not Found: "/etc/letsencrypt/" - "live/{0}/cert.pem'" + Log.error(self, 'File Not Found: /etc/letsencrypt/' + 'live/{0}/cert.pem' .format(domain), False) Log.error(self, "Check the WordOps log for more details " "`tail /var/log/wo/wordops.log` and please try again...")