tMerge branch 'master' of ssh://r-36.net:443/srv/git/zs - zs - Zeitungsschau rss to email converter
(HTM) git clone git://r-36.net/zs
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 62524b0ca97150fe0a8bf6c9bd1c93e4adfa80c4
(DIR) parent 023b5c2610d78e91dba980f456c7a227996b13d9
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 12 May 2019 09:42:07 +0200
Merge branch 'master' of ssh://r-36.net:443/srv/git/zs
Diffstat:
zeitungsschau/feed.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py
t@@ -363,11 +363,9 @@ def parseatomfeed(astr):
articles.append(article)
- # Will not process more than 64 feed entries. Can you hear me
- # Richard Stallman?
try:
feed["articles"] = sorted(articles, key=lambda article: \
- article["updated"])[:64]
+ article["updated"])
except TypeError:
for article in articles:
print(article["updated"])