Index: sitescripts/formmail/web/formmail2.py |
=================================================================== |
--- a/sitescripts/formmail/web/formmail2.py |
+++ b/sitescripts/formmail/web/formmail2.py |
@@ -124,7 +124,7 @@ |
get_template(template, autoescape=False) |
except (KeyError, AttributeError): |
raise Exception('No template configured for form handler: ' + name) |
- except (jinja2.TemplateNotFound): |
+ except jinja2.TemplateNotFound: |
raise Exception('Template not found at: ' + template) |
try: |
fields = config['fields'] |