mirror of https://gitlab.com/bashrc2/epicyon
Extra continue
parent
f556c69ea0
commit
f2707d43ac
4
utils.py
4
utils.py
|
@ -757,8 +757,12 @@ def searchBoxPosts(baseDir: str, nickname: str, domain: str,
|
||||||
with open(filePath, 'r') as postFile:
|
with open(filePath, 'r') as postFile:
|
||||||
data = postFile.read()
|
data = postFile.read()
|
||||||
|
|
||||||
|
notFound = False
|
||||||
for keyword in searchWords:
|
for keyword in searchWords:
|
||||||
if keyword not in data:
|
if keyword not in data:
|
||||||
|
notFound = True
|
||||||
|
continue
|
||||||
|
if notFound:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
res.append(filePath)
|
res.append(filePath)
|
||||||
|
|
Loading…
Reference in New Issue