mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
73b14d9884
commit
0dde91062f
@ -381,8 +381,8 @@ class DefaultProfile(object):
|
||||
articles[title].append(d)
|
||||
articles[title].sort(key=operator.itemgetter('timestamp'), reverse=True)
|
||||
articles[title] = articles[title][:self.max_articles_per_feed+1]
|
||||
for item in articles[title]:
|
||||
item.pop('timestamp')
|
||||
#for item in articles[title]:
|
||||
# item.pop('timestamp')
|
||||
if not articles[title]:
|
||||
articles.pop(title)
|
||||
return articles
|
||||
|
Loading…
x
Reference in New Issue
Block a user