diff options
Diffstat (limited to '')
| -rw-r--r-- | patternutils/commands/patterncfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/commands/patterncfg.py b/patternutils/commands/patterncfg.py index e84a0db..1b37ba4 100644 --- a/patternutils/commands/patterncfg.py +++ b/patternutils/commands/patterncfg.py @@ -69,7 +69,7 @@ def add( if command == "pmatch": fileext = "regex" else: - fileext = "jinja2" if template_engine == "jinja2" else "python" + fileext = template_engine filename = os.path.join(config.CONFIG_PATH, command, f"{name}.{fileext}") click.edit(filename=filename) |
