Fix feed problem for non-ascii names. From Pasi Eronen.
- Legacy-Id: 1449
This commit is contained in:
parent
d6401f9e79
commit
65b4f738ae
|
@ -19,8 +19,8 @@ class LatestIprDisclosures(Feed):
|
|||
return item.submitted_date
|
||||
def item_author_name(self, item):
|
||||
s = item.get_submitter()
|
||||
if s:
|
||||
return s.name
|
||||
if s:
|
||||
return unicode(s.name, encoding='utf-8', errors='replace')
|
||||
return None
|
||||
def item_author_email(self, item):
|
||||
s = item.get_submitter()
|
||||
|
|
Loading…
Reference in a new issue