From a3c287bfd81d6f96ce9bc0bb5090ba02570c508d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 15 Apr 2020 17:25:13 +0100 Subject: [PATCH] Get the next line --- webinterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webinterface.py b/webinterface.py index 408e97e3..e6b21f56 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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: