From 583c4a239d378cfac3f8b56c432fca7417517d6f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 12:22:42 +0100 Subject: [PATCH] Variable name --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 6a416f323..5aebbb903 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1705,7 +1705,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ storeToCache=True) -> str: """ Shows a single post as html """ - if not showPublicOnly and storeToCache and boxname!='tlmedia': + 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 and boxname!='tlmedia': + if not showPublicOnly and storeToCache and boxName!='tlmedia': saveIndividualPostAsHtmlToCache(baseDir,nickname,domain, \ postJsonObject,postHtml)