commit 62524b0ca97150fe0a8bf6c9bd1c93e4adfa80c4
parent 023b5c2610d78e91dba980f456c7a227996b13d9
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:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py
@@ -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"])