FIX Don't fail if post doesn't have a description
1 files changed, 10 insertions(+), 7 deletions(-)

M feed2maildir/converter.py
M feed2maildir/converter.py +10 -7
@@ 196,13 196,16 @@ Content-Type: {}
         desc = ''
         content_type = 'text/plain'
         if not self.links:
-            if self.strip:
-                stripper = HTMLStripper()
-                stripper.feed(post.description)
-                desc = stripper.get_data()
-            else:
-                desc = post.description
-                content_type = 'text/html'
+            try:
+                if self.strip:
+                    stripper = HTMLStripper()
+                    stripper.feed(post.description)
+                    desc = stripper.get_data()
+                else:
+                    desc = post.description
+                    content_type = 'text/html'
+            except AttributeError:
+                desc = 'Unknown'
         return self.TEMPLATE.format(updated,
                                     post.title,
                                     title.lower().replace(' ', '-'),