Bugfix (last 10, not len(entries))
This commit is contained in:
parent
6c778b2e8b
commit
6f50460eda
@ -238,7 +238,7 @@ elif feed_display == "rss":
|
|||||||
print ''
|
print ''
|
||||||
j = len(entries)
|
j = len(entries)
|
||||||
if j > 10: j = 10
|
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, '')
|
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])))
|
date = time.strftime("%a, %d %b %Y %H:%M:%S %z", time.gmtime(time.mktime(entries[i][0])))
|
||||||
title_md5sum = generate_uuid(title)
|
title_md5sum = generate_uuid(title)
|
||||||
|
Loading…
Reference in New Issue
Block a user