forked from indymedia/epicyon
Indentation
parent
666f23ba1d
commit
4b63faa944
|
@ -4808,8 +4808,8 @@ def htmlHashTagSwarm(baseDir: str,actor: str) -> str:
|
||||||
continue
|
continue
|
||||||
if daysSinceEpochStr not in open(tagsFilename).read():
|
if daysSinceEpochStr not in open(tagsFilename).read():
|
||||||
continue
|
continue
|
||||||
tagCtr=0
|
|
||||||
with open(tagsFilename, 'r') as tagsFile:
|
with open(tagsFilename, 'r') as tagsFile:
|
||||||
|
tagCtr=0
|
||||||
lines=tagsFile.readlines()
|
lines=tagsFile.readlines()
|
||||||
for l in lines:
|
for l in lines:
|
||||||
if ' ' not in l:
|
if ' ' not in l:
|
||||||
|
@ -4824,7 +4824,7 @@ def htmlHashTagSwarm(baseDir: str,actor: str) -> str:
|
||||||
if tagCtr==0:
|
if tagCtr==0:
|
||||||
tagSwarm.append(hashTagName)
|
tagSwarm.append(hashTagName)
|
||||||
tagCtr+=1
|
tagCtr+=1
|
||||||
if tagCtr>3:
|
if tagCtr>1:
|
||||||
break
|
break
|
||||||
if tagCtr>0:
|
if tagCtr>0:
|
||||||
tagSwarmCtr.append(tagCtr)
|
tagSwarmCtr.append(tagCtr)
|
||||||
|
|
Loading…
Reference in New Issue