From 930e92ac034349c9f9f1425c21f498cb76cc4cda Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 7 Feb 2020 15:03:42 +0100 Subject: [PATCH] Minor change in stack_pref --- wo/cli/plugins/stack_pref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index b5bd97b..c4c341b 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -400,7 +400,7 @@ def post_pref(self, apt_packages, packages, upgrade=False): .format(ngxroot))): SSL.selfsignedcert(self, proftpd=False, backend=True) - if not os.path.isfile('{0}22222/conf/nginx/ssl.conf' + if not os.path.exists('{0}22222/conf/nginx/ssl.conf' .format(ngxroot)): with open("/var/www/22222/conf/nginx/" "ssl.conf", "w") as php_file: