Get the next line

main
Bob Mottram 2020-04-15 17:25:13 +01:00
parent c4b2371b70
commit a3c287bfd8
1 changed files with 4 additions and 0 deletions

View File

@ -5549,9 +5549,13 @@ def htmlHashTagSwarm(baseDir: str, actor: str) -> str:
tagCtr = 0
while line:
if ' ' not in line:
line = tagsFile.readline()
lineCtr += 1
continue
postDaysSinceEpochStr = line.split(' ')[0]
if not postDaysSinceEpochStr.isdigit():
line = tagsFile.readline()
lineCtr += 1
continue
postDaysSinceEpoch = int(postDaysSinceEpochStr)
if postDaysSinceEpoch < daysSinceEpoch: