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