author is not required by rss.

This commit is contained in:
Jimmy 2013-11-30 22:11:22 +01:00
parent b4a68f431d
commit ec4aa780c2

View file

@ -192,7 +192,7 @@ class FeedEntry(object):
if self.__rss_description: if self.__rss_description:
description = etree.SubElement(entry, 'description') description = etree.SubElement(entry, 'description')
description.text = self.__rss_description description.text = self.__rss_description
for a in self.__rss_author: for a in self.__rss_author or []:
author = etree.SubElement(entry, 'author') author = etree.SubElement(entry, 'author')
author.text = a author.text = a
if self.__rss_guid: if self.__rss_guid: