From b8d02ba3e431bfc1fcdeab31b7ebe580f565466d Mon Sep 17 00:00:00 2001 From: Wil Clouser Date: Fri, 29 Jan 2010 15:06:41 -0800 Subject: [PATCH] strings should be unicode --- lib/jingo/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jingo/helpers.py b/lib/jingo/helpers.py index 71730ad0ff..925e7fbff8 100644 --- a/lib/jingo/helpers.py +++ b/lib/jingo/helpers.py @@ -27,6 +27,7 @@ def f(string, *args, **kwargs): >>> {{ "{0} arguments and {x} arguments"|f('positional', x='keyword') }} "positional arguments and keyword arguments" """ + string = unicode(string) return string.format(*args, **kwargs)