forked from github/pelican
Use six.u instead of unicode.
This commit is contained in:
parent
9abc08ea9f
commit
74c7c72fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue