Fixed #24 Categories For Feed Entries

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This commit is contained in:
Lars Kiesow 2015-01-03 23:27:52 +01:00
parent 01e3c0daaa
commit 7d1bda868d
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -137,7 +137,7 @@ class FeedEntry(object):
summary.text = self.__atom_summary
for c in self.__atom_category or []:
cat = etree.SubElement(feed, 'category', term=c['term'])
cat = etree.SubElement(entry, 'category', term=c['term'])
if c.get('schema'):
cat.attrib['schema'] = c['schema']
if c.get('label'):