Replacement

main
Bob Mottram 2020-01-12 21:09:40 +00:00
parent a4b13e5827
commit b540fe5c5f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def addSchedulePost(baseDir: str,nickname: str,domain: str, \
handle=nickname+'@'+domain
scheduleIndexFilename=baseDir+'/accounts/'+handle+'/schedule.index'
indexStr=eventDateStr+' '+postId
indexStr=eventDateStr+' '+postId.replace('/','#')
if os.path.isfile(scheduleIndexFilename):
if indexStr not in open(scheduleIndexFilename).read():
try: