aboutsummaryrefslogtreecommitdiff
path: root/feedgetter.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-02-25 18:55:08 +0100
committercedricbonhomme <devnull@localhost>2010-02-25 18:55:08 +0100
commit88b9410c3e08c606b4313550ae31a1fc043b993a (patch)
tree161a7a3e3247a7fe8b05869b1ac085cab29cbc55 /feedgetter.py
parentAdded a default RSS icon for feeds without RSS icon. (diff)
downloadnewspipe-88b9410c3e08c606b4313550ae31a1fc043b993a.tar.gz
newspipe-88b9410c3e08c606b4313550ae31a1fc043b993a.tar.bz2
newspipe-88b9410c3e08c606b4313550ae31a1fc043b993a.zip
Minor enhancement.
Diffstat (limited to 'feedgetter.py')
-rw-r--r--feedgetter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/feedgetter.py b/feedgetter.py
index 2878d943..c66d7a0f 100644
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -106,9 +106,8 @@ class FeedGetter(object):
return
try:
feed_image = a_feed.feed.image.href
- print feed_image
except:
- feed_image = ""
+ feed_image = "/css/img/feed-icon-28x28.png"
try:
self.c.execute('insert into feeds values (?,?,?,?)', (\
a_feed.feed.title.encode('utf-8'), \
bgstack15