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