tParse all articles. Too many feeds are wrong. - zs - Zeitungsschau rss to email converter
 (HTM) git clone git://r-36.net/zs
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 86eaa6478dd9b6c0803f811d98632a73479aa017
 (DIR) parent e47a4623997bd098ca5988fdfd21b61d327860c8
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sat, 12 Jan 2019 19:27:15 +0100
       
       Parse all articles. Too many feeds are wrong.
       
       Diffstat:
         zeitungsschau/feed.py               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py
       t@@ -367,7 +367,7 @@ def parseatomfeed(astr):
                # Richard Stallman?
                try:
                        feed["articles"] = sorted(articles, key=lambda article: \
       -                                article["updated"])[:64]
       +                                article["updated"])
                except TypeError:
                        for article in articles:
                                print(article["updated"])