few tweaks
This commit is contained in:
parent
0a730ae7f7
commit
ea6e9c198b
@ -29,7 +29,7 @@ def exists(r):
|
||||
|
||||
def parse():
|
||||
global inserted, big, index_num
|
||||
print("entering parse()")
|
||||
print("Parsing manifest json...")
|
||||
# for every document in the export
|
||||
for document in manifest:
|
||||
#if the title and content tags aren't blank
|
||||
|
@ -19,7 +19,7 @@ def menu():
|
||||
if value == "reload":
|
||||
extract.parse()
|
||||
value = prompt()
|
||||
while value != "quit" or value != "reload":
|
||||
while value != "quit" and value != "reload":
|
||||
results = search.query(value)
|
||||
if type(results) == dict:
|
||||
print(results["content"])
|
||||
|
Loading…
Reference in New Issue
Block a user