Don't need replaces

main
Bob Mottram 2020-10-10 13:25:07 +01:00
parent 098932440c
commit fbb230ac5c
1 changed files with 0 additions and 2 deletions

View File

@ -135,8 +135,6 @@ def atomFeedToDict(xmlStr: str, moderated: bool) -> {}:
try: try:
publishedDate = \ publishedDate = \
datetime.strptime(pubDate, "%Y-%m-%dT%H:%M:%SZ") datetime.strptime(pubDate, "%Y-%m-%dT%H:%M:%SZ")
publishedDate = publishedDate.replace('Z', '')
publishedDate = publishedDate.replace('T', ' ') + '+00:00'
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
result[str(publishedDate)] = [title, link, result[str(publishedDate)] = [title, link,