diff --git a/newswire.py b/newswire.py index 3a4e28a5b..eff216426 100644 --- a/newswire.py +++ b/newswire.py @@ -224,8 +224,7 @@ def parseFeedDate(pubDate: str) -> str: continue try: - publishedDate = \ - datetime.strptime(pubDate, dateFormat) + publishedDate = datetime.strptime(pubDate, dateFormat) except BaseException: continue