forked from indymedia/epicyon
Extra continue
parent
f556c69ea0
commit
f2707d43ac
4
utils.py
4
utils.py
|
@ -757,9 +757,13 @@ def searchBoxPosts(baseDir: str, nickname: str, domain: str,
|
|||
with open(filePath, 'r') as postFile:
|
||||
data = postFile.read()
|
||||
|
||||
notFound = False
|
||||
for keyword in searchWords:
|
||||
if keyword not in data:
|
||||
notFound = True
|
||||
continue
|
||||
if notFound:
|
||||
continue
|
||||
|
||||
res.append(filePath)
|
||||
if len(res) >= maxResults:
|
||||
|
|
Loading…
Reference in New Issue