diff --git a/webinterface.py b/webinterface.py index 119318a04..ca03f6900 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2763,6 +2763,7 @@ def getCalendarEvents(baseDir: str,nickname: str,domain: str,year: int,monthNumb recreateEventsFile=False with open(calendarFilename,'r') as eventsFile: for postId in eventsFile: + postId=postId.replace('\n','') postFilename=locatePost(baseDir,nickname,domain,postId) if postFilename: postJsonObject=None