mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix unicode warning when invalid template message given
This commit is contained in:
parent
9b7a55d964
commit
cdcde2f2d3
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Template(object):
|
|||
replacement = func(self, tag_name, context)
|
||||
template = template.replace(tag, replacement)
|
||||
except:
|
||||
return "{{invalid template}}"
|
||||
return u"{{invalid template}}"
|
||||
|
||||
return template
|
||||
|
||||
|
|
Loading…
Reference in a new issue