zs

Zeitungsschau rss to email converter
git clone git://r-36.net/zs
Log | Files | Refs | LICENSE

commit d618c2e01de3062741a3cf49902e09f0f6ad0dbd
parent 7c0ec28cb0f70e2eed6764b598387e5696af7575
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon, 11 Jun 2018 13:22:21 +0200

Catch all exceptions from date parsing heuristics.

Diffstat:
zeitungsschau/feed.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py @@ -30,7 +30,7 @@ def parseiso(dstr, now): try: return dateutil.parser.parse(str(dstr), default=now, tzinfos=gettzinfo) - except ValueError: + except: # Invalid time format. Could not be parsed. return now