forked from indymedia/epicyon
Remove carriage return
parent
e378e83a8a
commit
6f8a86a044
|
@ -2763,6 +2763,7 @@ def getCalendarEvents(baseDir: str,nickname: str,domain: str,year: int,monthNumb
|
||||||
recreateEventsFile=False
|
recreateEventsFile=False
|
||||||
with open(calendarFilename,'r') as eventsFile:
|
with open(calendarFilename,'r') as eventsFile:
|
||||||
for postId in eventsFile:
|
for postId in eventsFile:
|
||||||
|
postId=postId.replace('\n','')
|
||||||
postFilename=locatePost(baseDir,nickname,domain,postId)
|
postFilename=locatePost(baseDir,nickname,domain,postId)
|
||||||
if postFilename:
|
if postFilename:
|
||||||
postJsonObject=None
|
postJsonObject=None
|
||||||
|
|
Loading…
Reference in New Issue