forked from indymedia/epicyon
Debug
parent
0f98309731
commit
73fd00ad92
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue