forked from indymedia/epicyon
Get the next line
parent
c4b2371b70
commit
a3c287bfd8
|
@ -5549,9 +5549,13 @@ def htmlHashTagSwarm(baseDir: str, actor: str) -> str:
|
||||||
tagCtr = 0
|
tagCtr = 0
|
||||||
while line:
|
while line:
|
||||||
if ' ' not in line:
|
if ' ' not in line:
|
||||||
|
line = tagsFile.readline()
|
||||||
|
lineCtr += 1
|
||||||
continue
|
continue
|
||||||
postDaysSinceEpochStr = line.split(' ')[0]
|
postDaysSinceEpochStr = line.split(' ')[0]
|
||||||
if not postDaysSinceEpochStr.isdigit():
|
if not postDaysSinceEpochStr.isdigit():
|
||||||
|
line = tagsFile.readline()
|
||||||
|
lineCtr += 1
|
||||||
continue
|
continue
|
||||||
postDaysSinceEpoch = int(postDaysSinceEpochStr)
|
postDaysSinceEpoch = int(postDaysSinceEpochStr)
|
||||||
if postDaysSinceEpoch < daysSinceEpoch:
|
if postDaysSinceEpoch < daysSinceEpoch:
|
||||||
|
|
Loading…
Reference in New Issue