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: