From d57ba31279cf37c77e2013990bd9beffc6990944 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Dec 2019 10:06:08 +0000 Subject: [PATCH] Increment --- webinterface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index c34b85f7b..66d366e69 100644 --- a/webinterface.py +++ b/webinterface.py @@ -411,24 +411,24 @@ def htmlHashtagSearch(nickname: str,domain: str,port: int, \ if ' ' not in postId: nickname=getNicknameFromActor(postId) if not nickname: - index-=1 + index+=1 continue else: postFields=postId.split(' ') if len(postFields)!=3: - index=-1 + index=+1 continue postDaysSinceEposh=int(postFields[0]) nickname=postFields[1] postId=postFields[2] postFilename=locatePost(baseDir,nickname,domain,postId) if not postFilename: - index-=1 + index+=1 continue postJsonObject=loadJson(postFilename) if postJsonObject: if not isPublicPost(postJsonObject): - index-=1 + index+=1 continue showIndividualPostIcons=False if nickname: