mirror of https://gitlab.com/bashrc2/epicyon
Remove activity from id
parent
6b9069a35f
commit
455e0451c1
|
@ -1730,7 +1730,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
"""
|
"""
|
||||||
# if a cached version of the post already exists then fetch it
|
# if a cached version of the post already exists then fetch it
|
||||||
htmlPostCacheDir=baseDir+'/accounts/'+nickname+'@'+domain+'/postcache'
|
htmlPostCacheDir=baseDir+'/accounts/'+nickname+'@'+domain+'/postcache'
|
||||||
cachedPostFilename=htmlPostCacheDir+'/'+postJsonObject['id'].replace('/','#')+'.html'
|
cachedPostFilename=htmlPostCacheDir+'/'+postJsonObject['id'].replace('/activity','').replace('/','#')+'.html'
|
||||||
if os.path.isfile(cachedPostFilename):
|
if os.path.isfile(cachedPostFilename):
|
||||||
postStr=''
|
postStr=''
|
||||||
tries=0
|
tries=0
|
||||||
|
|
Loading…
Reference in New Issue