forked from indymedia/epicyon
media timeline avoids cached html
parent
c3b1e9ef08
commit
c59a80f3a7
|
@ -1705,7 +1705,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
storeToCache=True) -> str:
|
storeToCache=True) -> str:
|
||||||
""" Shows a single post as html
|
""" Shows a single post as html
|
||||||
"""
|
"""
|
||||||
if not showPublicOnly and storeToCache:
|
if not showPublicOnly and storeToCache and boxname!='tlmedia':
|
||||||
postHtml= \
|
postHtml= \
|
||||||
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
||||||
postJsonObject)
|
postJsonObject)
|
||||||
|
@ -2092,7 +2092,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
else:
|
else:
|
||||||
postHtml=galleryStr
|
postHtml=galleryStr
|
||||||
|
|
||||||
if not showPublicOnly and storeToCache:
|
if not showPublicOnly and storeToCache and boxname!='tlmedia':
|
||||||
saveIndividualPostAsHtmlToCache(baseDir,nickname,domain, \
|
saveIndividualPostAsHtmlToCache(baseDir,nickname,domain, \
|
||||||
postJsonObject,postHtml)
|
postJsonObject,postHtml)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue