1
0
Fork 0
forked from github/pelican

Use six.u instead of unicode.

This commit is contained in:
Nathan Yergler 2013-07-31 21:31:08 -07:00
commit 74c7c72fb3

View file

@ -138,7 +138,7 @@ class Page(object):
# no page numbers on the first page
context['number'] = ''
context['number_sep'] = ''
ret = unicode(value).format(**context)
ret = six.u(value).format(**context)
if ret[0] == '/':
ret = ret[1:]
return ret