aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-12-03 14:53:21 +0100
committerStefan Ritter <xeno@thehappy.de>2009-12-03 14:53:21 +0100
commit6f50460edaed24d04faba990c717f72790b07e26 (patch)
tree84e7aca75efe772ef768e90c88a08aa5d7a86fec /blogthon.cgi
parent6c778b2e8b67571fd52cf94e7a60f7eafaafe768 (diff)
Bugfix (last 10, not len(entries))
Diffstat (limited to '')
-rwxr-xr-xblogthon.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index abfaf8d..714948f 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -238,7 +238,7 @@ elif feed_display == "rss":
print ''
j = len(entries)
if j > 10: j = 10
- for i in xrange(0, len(entries)):
+ for i in xrange(0, j):
title = str(entries[i][1]).replace('entries/', '', 1).replace('.' + entries_suffix, '')
date = time.strftime("%a, %d %b %Y %H:%M:%S %z", time.gmtime(time.mktime(entries[i][0])))
title_md5sum = generate_uuid(title)