projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b971376
)
If the image tag does not contain a src parameter, ignore it.
author
Neal H. Walfield
<neal@walfield.org>
Thu, 20 Oct 2011 19:43:49 +0000
(21:43 +0200)
committer
Neal H. Walfield
<neal@walfield.org>
Thu, 20 Oct 2011 19:43:49 +0000
(21:43 +0200)
src/rss_sqlite.py
patch
|
blob
|
history
diff --git
a/src/rss_sqlite.py
b/src/rss_sqlite.py
index
50bb681
..
a1f5d2d
100644
(file)
--- a/
src/rss_sqlite.py
+++ b/
src/rss_sqlite.py
@@
-522,6
+522,9
@@
class Feed(BaseObject):
self.serial_execution_lock.release ()
have_serial_execution_lock = False
for img in images:
+ if not 'src' in img:
+ continue
+
filename = self.addImage(
configdir, self.key, baseurl, img['src'],
opener=opener)