From ec4aa780c208b5f5c02d566a8be7d19462904bcc Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sat, 30 Nov 2013 22:11:22 +0100 Subject: [PATCH] author is not required by rss. --- feedgen/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedgen/entry.py b/feedgen/entry.py index 1d1a156..a7e6973 100644 --- a/feedgen/entry.py +++ b/feedgen/entry.py @@ -192,7 +192,7 @@ class FeedEntry(object): if self.__rss_description: description = etree.SubElement(entry, '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.text = a if self.__rss_guid: