Change addImage to not throw an exception but return None on failure.
authorNeal H. Walfield <neal@walfield.org>
Wed, 14 Sep 2011 12:31:38 +0000 (14:31 +0200)
committerNeal H. Walfield <neal@walfield.org>
Wed, 14 Sep 2011 12:31:38 +0000 (14:31 +0200)
src/rss_sqlite.py

index 2e96225..253ed85 100644 (file)
@@ -264,7 +264,7 @@ class Feed(BaseObject):
                 except OSError:
                     pass
 
-                raise exception
+                return None
         else:
             #open(filename,"a").close()  # "Touch" the file
             file = open(filename,"a")