Fix img detection.
authorNeal H. Walfield <neal@walfield.org>
Sat, 5 Nov 2011 14:36:08 +0000 (15:36 +0100)
committerNeal H. Walfield <neal@walfield.org>
Sat, 5 Nov 2011 14:36:08 +0000 (15:36 +0100)
src/rss_sqlite.py

index c388617..129f500 100644 (file)
@@ -518,7 +518,7 @@ class Feed(BaseObject):
                        self.serial_execution_lock.release ()
                        have_serial_execution_lock = False
                        for img in images:
-                           if not 'src' in img:
+                           if not img.has_key('src'):
                                continue
 
                            filename = self.addImage(