Fix img detection.
[feedingit] / 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(