From fbb230ac5c9bd006609edebe8c0dbc50157b3dea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 10 Oct 2020 13:25:07 +0100 Subject: [PATCH] Don't need replaces --- newswire.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/newswire.py b/newswire.py index 70191282..2d3045b2 100644 --- a/newswire.py +++ b/newswire.py @@ -135,8 +135,6 @@ def atomFeedToDict(xmlStr: str, moderated: bool) -> {}: try: publishedDate = \ datetime.strptime(pubDate, "%Y-%m-%dT%H:%M:%SZ") - publishedDate = publishedDate.replace('Z', '') - publishedDate = publishedDate.replace('T', ' ') + '+00:00' postFilename = '' votesStatus = [] result[str(publishedDate)] = [title, link,