From 257ead3230c43761268200c23d5163713a013a72 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 30 Aug 2019 08:24:02 +0200 Subject: [PATCH] Fix symlink creation --- wo/cli/plugins/site_functions.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index f2abb29..948a6e1 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1501,10 +1501,12 @@ def copyWildcardCert(self, wo_domain_name, wo_root_domain): if os.path.isfile("/var/www/{0}/conf/nginx/ssl.conf" .format(wo_root_domain)): try: - WOFileUtils.create_symlink(self, "/var/www/{0}/conf/nginx/ssl.conf" - .format(wo_root_domain), - "/var/www/{0}/conf/nginx/ssl.conf" - .format(wo_domain_name)) + WOFileUtils.create_symlink(self, ["/var/www/{0}/conf/nginx/" + "ssl.conf" + .format(wo_root_domain), + '/var/www/{0}/conf/nginx/' + 'ssl.conf' + .format(wo_domain_name)]) except IOError as e: Log.debug(self, str(e)) Log.debug(self, "Error occured while "