summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patternutils/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/config.py b/patternutils/config.py
index 5ea7edf..155789b 100644
--- a/patternutils/config.py
+++ b/patternutils/config.py
@@ -22,7 +22,7 @@ def load_template(template_name: str, command_name: Optional[str]) -> Tuple[str,
raise RuntimeError('Multiple files found!')
output_pattern = template_lines.replace('\n', '')
- template_engine = os.path.splitext(template_file)[1]
+ template_engine = os.path.splitext(template_file)[1][1:]
return output_pattern, template_engine