diff options
Diffstat (limited to 'patternutils/commands/targs.py')
| -rw-r--r-- | patternutils/commands/targs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py index ad7e047..14ecce7 100644 --- a/patternutils/commands/targs.py +++ b/patternutils/commands/targs.py @@ -14,7 +14,7 @@ from typing import ( import click -import patternutils +from .. import template def run_command( @@ -66,7 +66,7 @@ def targs( use_jinja = True if template_engine == 'jinja2' else False try: - render = patternutils.template.get_render_function(command, use_jinja=use_jinja) + render = template.get_render_function(command, use_jinja=use_jinja) except RuntimeError: click.secho('jinja2 not installed!', fg='red', err=True) raise SystemExit |
