mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #182 from kryskool/master
Fix issue 181, with tags not recognize as unicode
This commit is contained in:
commit
c588342cfc
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ from pelican.utils import get_date, open
|
|||
|
||||
|
||||
_METADATA_PROCESSORS = {
|
||||
'tags': lambda x: map(unicode.strip, x.split(',')),
|
||||
'tags': lambda x: map(unicode.strip, unicode(x).split(',')),
|
||||
'date': lambda x: get_date(x),
|
||||
'status': unicode.strip,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue