From 12b7b73ae35cfb6ddc961fc24636f18d22fcf3e6 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 19 Aug 2019 17:51:11 +0200 Subject: [PATCH] Fix missing format --- wo/cli/plugins/stack_pref.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 1209fbd..ba44255 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -169,9 +169,10 @@ def post_pref(self, apt_packages, packages): WOTemplate.tmpl_render(self, '{0}/gzip.conf'.format(ngxcnf), 'gzip.mustache', data) - if not os.path.isfile('{0}/brotli.conf'): + if not os.path.isfile('{0}/brotli.conf'.format(ngxcnf)): WOTemplate.tmpl_render(self, - '{0}/brotli.conf.disabled', + '{0}/brotli.conf.disabled' + .format(ngxcnf), 'brotli.mustache', data) WOTemplate.tmpl_render(self, '{0}/tweaks.conf'.format(ngxcnf),