lkiesow / python-feedgen

Python module to generate ATOM feeds, RSS feeds and Podcasts.
https://feedgen.kiesow.be/
BSD 2-Clause "Simplified" License
723 stars 123 forks source link

Fix atom content type CDATA #42

Closed russel1237 closed 8 years ago

russel1237 commented 8 years ago

Right now if you select content type CDATA for atom feed like following: feed_entry.content('content', type="CDATA") it raises TypeError: Argument must be bytes or unicode, got 'dict'.

In this PR, it's been fixed.

mosasiru commented 8 years ago

👍