From 6a6f814e2cf350e385aa4f1a23971ca76f6d81da Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 30 Sep 2019 21:45:25 +0100 Subject: [PATCH] Always count --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 85b590b2..a6c6dbcc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2129,6 +2129,7 @@ def htmlTimeline(translate: {},pageNumber: int, \ for item in timelineJson['orderedItems']: if item['type']=='Create' or item['type']=='Announce': avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache) + itemCtr+=1 currTlStr= \ individualPostAsHtml(iconsDir,translate,pageNumber, \ baseDir,session,wfRequest,personCache, \ @@ -2141,7 +2142,6 @@ def htmlTimeline(translate: {},pageNumber: int, \ if currTlStr: tlStr+=currTlStr - itemCtr+=1 if boxName=='tlmedia': tlStr+='\n'