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 <jan@janware.com>
This commit is contained in:
parent
37fcf56ad2
commit
f23c0560e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
async def compile_template_file(target_path: str, default_attrs: Attrs|None=None, ctx: FileContext|None=None) -> bool:
|
||||||
if ctx is None:
|
if ctx is None:
|
||||||
ctx = Local()
|
ctx = Local()
|
||||||
FilesContext().compile_template_file(target_path, default_attrs=default_attrs)
|
await FilesContext(ctx).compile_template_file(target_path, default_attrs=default_attrs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue