forked from indymedia/epicyon
Don't need replaces
parent
098932440c
commit
fbb230ac5c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue