master
Bob Mottram 2019-08-20 14:37:18 +01:00
parent 0f98309731
commit 73fd00ad92
1 changed files with 1 additions and 0 deletions

View File

@ -1029,6 +1029,7 @@ def individualPostAsHtml(baseDir: str, \
if not os.path.isdir(announceCacheDir): if not os.path.isdir(announceCacheDir):
os.mkdir(announceCacheDir) os.mkdir(announceCacheDir)
announceFilename=announceCacheDir+'/'+postJsonObject['object'].replace('/','#')+'.json' announceFilename=announceCacheDir+'/'+postJsonObject['object'].replace('/','#')+'.json'
print('announceFilename: '+announceFilename)
if os.path.isfile(announceFilename): if os.path.isfile(announceFilename):
print('Reading cached Announce content for '+postJsonObject['object']) print('Reading cached Announce content for '+postJsonObject['object'])
with open(announceFilename, 'r') as fp: with open(announceFilename, 'r') as fp: