mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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
|
# no page numbers on the first page
|
||||||
context['number'] = ''
|
context['number'] = ''
|
||||||
context['number_sep'] = ''
|
context['number_sep'] = ''
|
||||||
ret = unicode(value).format(**context)
|
ret = six.u(value).format(**context)
|
||||||
if ret[0] == '/':
|
if ret[0] == '/':
|
||||||
ret = ret[1:]
|
ret = ret[1:]
|
||||||
return ret
|
return ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue