Variable name

main2
Bob Mottram 2019-10-23 12:22:42 +01:00
parent c59a80f3a7
commit 583c4a239d
1 changed files with 2 additions and 2 deletions

View File

@ -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 and boxname!='tlmedia': 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 and boxname!='tlmedia': if not showPublicOnly and storeToCache and boxName!='tlmedia':
saveIndividualPostAsHtmlToCache(baseDir,nickname,domain, \ saveIndividualPostAsHtmlToCache(baseDir,nickname,domain, \
postJsonObject,postHtml) postJsonObject,postHtml)