aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyAggr3g470r.py')
-rw-r--r--pyAggr3g470r.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 4748a3eb..80edb43f 100644
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -85,15 +85,12 @@ class Root:
html += """</div>\n<div class="left inner">\n"""
for rss_feed_id in self.dic.keys():
- feed_link = self.dic_info[rss_feed_id][2].encode('utf-8')
- if not feed_link:
- feed_link = "/css/img/feed-icon-28x28.png"
html += """<h2><a name="%s"><a href="%s" rel="noreferrer"
target="_blank">%s</a></a>
<img src="%s" width="28" height="28" /></h2>\n""" % \
(rss_feed_id, self.dic[rss_feed_id][0][6].encode('utf-8'), \
self.dic[rss_feed_id][0][5].encode('utf-8'), \
- feed_link)
+ self.dic_info[rss_feed_id][2].encode('utf-8'))
# The main page display only 10 articles by feeds.
for article in self.dic[rss_feed_id][:10]:
bgstack15