From cc5ba5d696f7af06fc4d32e1f1831c863771b4be Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 19 Aug 2019 17:49:45 +0200 Subject: [PATCH] Fix missing format --- wo/cli/plugins/stack_pref.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index d640fac..1209fbd 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -166,7 +166,7 @@ def post_pref(self, apt_packages, packages): if not os.path.isfile('{0}/gzip.conf.disabled'.format(ngxcnf)): data = dict() - WOTemplate.tmpl_render(self, '{0}/gzip.conf', + WOTemplate.tmpl_render(self, '{0}/gzip.conf'.format(ngxcnf), 'gzip.mustache', data) if not os.path.isfile('{0}/brotli.conf'): @@ -174,7 +174,7 @@ def post_pref(self, apt_packages, packages): '{0}/brotli.conf.disabled', 'brotli.mustache', data) - WOTemplate.tmpl_render(self, '{0}/tweaks.conf', + WOTemplate.tmpl_render(self, '{0}/tweaks.conf'.format(ngxcnf), 'tweaks.mustache') # Fix for white screen death with NGINX PLUS