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 41334ed..bfacbfc 100644 --- a/patternutils/commands/targs.py +++ b/patternutils/commands/targs.py @@ -34,14 +34,14 @@ def targs( try: data = json.load(read_from) except json.JSONDecodeError: - click.secho('JSON not valid!', fg='red') + click.secho('JSON not valid!', fg='red', err=True) raise SystemExit use_jinja = True if template_engine == 'jinja2' else False try: render = patternutils.template.get_render_function(command, use_jinja=use_jinja) except RuntimeError: - click.secho('jinja2 not installed!', fg='red') + click.secho('jinja2 not installed!', fg='red', err=True) raise SystemExit for r in data: |
