diff options
Diffstat (limited to 'tempita/__init__.py')
-rw-r--r-- | tempita/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tempita/__init__.py b/tempita/__init__.py index 7048580..c4c872d 100644 --- a/tempita/__init__.py +++ b/tempita/__init__.py @@ -284,7 +284,7 @@ class Template(object): if getattr(e, 'args', None): arg0 = e.args[0] else: - arg0 = text(e) + arg0 = coerce_text(e) e.args = (self._add_line_info(arg0, pos),) raise exc_info[0], e, exc_info[2] |