From f23c0560e5c803a0366ccfa8397a02da5345eb7f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sat, 25 Apr 2026 13:49:17 +0200 Subject: [PATCH] cmds.secrets.lib.util.compile_template_file(): Fix Fix broken call to FilesContext(ctx).compile_template_file() after trying it out the first time. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/cmds/secrets/lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/cmds/secrets/lib/util.py b/src/python/jw/pkg/cmds/secrets/lib/util.py index 046e739d..34e16257 100644 --- a/src/python/jw/pkg/cmds/secrets/lib/util.py +++ b/src/python/jw/pkg/cmds/secrets/lib/util.py @@ -14,4 +14,4 @@ if TYPE_CHECKING: async def compile_template_file(target_path: str, default_attrs: Attrs|None=None, ctx: FileContext|None=None) -> bool: if ctx is None: ctx = Local() - FilesContext().compile_template_file(target_path, default_attrs=default_attrs) + await FilesContext(ctx).compile_template_file(target_path, default_attrs=default_attrs)