forked from indymedia/epicyon
Increment
parent
c560466068
commit
d57ba31279
|
@ -411,24 +411,24 @@ def htmlHashtagSearch(nickname: str,domain: str,port: int, \
|
||||||
if ' ' not in postId:
|
if ' ' not in postId:
|
||||||
nickname=getNicknameFromActor(postId)
|
nickname=getNicknameFromActor(postId)
|
||||||
if not nickname:
|
if not nickname:
|
||||||
index-=1
|
index+=1
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
postFields=postId.split(' ')
|
postFields=postId.split(' ')
|
||||||
if len(postFields)!=3:
|
if len(postFields)!=3:
|
||||||
index=-1
|
index=+1
|
||||||
continue
|
continue
|
||||||
postDaysSinceEposh=int(postFields[0])
|
postDaysSinceEposh=int(postFields[0])
|
||||||
nickname=postFields[1]
|
nickname=postFields[1]
|
||||||
postId=postFields[2]
|
postId=postFields[2]
|
||||||
postFilename=locatePost(baseDir,nickname,domain,postId)
|
postFilename=locatePost(baseDir,nickname,domain,postId)
|
||||||
if not postFilename:
|
if not postFilename:
|
||||||
index-=1
|
index+=1
|
||||||
continue
|
continue
|
||||||
postJsonObject=loadJson(postFilename)
|
postJsonObject=loadJson(postFilename)
|
||||||
if postJsonObject:
|
if postJsonObject:
|
||||||
if not isPublicPost(postJsonObject):
|
if not isPublicPost(postJsonObject):
|
||||||
index-=1
|
index+=1
|
||||||
continue
|
continue
|
||||||
showIndividualPostIcons=False
|
showIndividualPostIcons=False
|
||||||
if nickname:
|
if nickname:
|
||||||
|
|
Loading…
Reference in New Issue