Decode multiple contents correctly.
authorAdam Sampson <ats@offog.org>
Sat, 20 Sep 2003 15:41:27 +0000 (15:41 +0000)
committerAdam Sampson <ats@offog.org>
Sat, 20 Sep 2003 15:41:27 +0000 (15:41 +0000)
rawdoglib/rawdog.py

index 1136e24c4df2efb5e5fdf55a5da34f34af8c8650..7f891c818125a82c3aa0e69fd78031331154e496 100644 (file)
@@ -130,7 +130,7 @@ class Feed:
                        link = self.decode(item.get("link"))
                        description = None
                        if description is None and item.has_key("content"):
-                               description = select_content(self.decode(item["content"]))
+                               description = self.decode(select_content(item["content"]))
                        if description is None and item.has_key("content_encoded"):
                                description = self.decode(item["content_encoded"])
                        if description is None: