mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:12:35 +02:00
This commit is contained in:
parent
73b14d9884
commit
0dde91062f
1 changed files with 2 additions and 2 deletions
|
|
@ -381,8 +381,8 @@ def parse_feeds(self, require_url=True):
|
|||
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…
Reference in a new issue