Maintain search_opted flag.
This commit is contained in:
parent
64eafeadc4
commit
2f6ab26f8c
3
buku.py
3
buku.py
@ -2469,7 +2469,6 @@ def main():
|
|||||||
else:
|
else:
|
||||||
# Use sub prompt to list all tags
|
# Use sub prompt to list all tags
|
||||||
prompt(bdb, None, args.noprompt, subprompt=True)
|
prompt(bdb, None, args.noprompt, subprompt=True)
|
||||||
search_opted = False
|
|
||||||
else:
|
else:
|
||||||
search_opted = False
|
search_opted = False
|
||||||
|
|
||||||
@ -2520,7 +2519,7 @@ def main():
|
|||||||
if not search_opted:
|
if not search_opted:
|
||||||
bdb.update_rec(0, url_in, title_in, tags, desc_in,
|
bdb.update_rec(0, url_in, title_in, tags, desc_in,
|
||||||
args.immutable, args.threads)
|
args.immutable, args.threads)
|
||||||
elif update_search_results:
|
elif update_search_results and search_results is not None:
|
||||||
print("Updated results:\n")
|
print("Updated results:\n")
|
||||||
|
|
||||||
pos = len(search_results) - 1
|
pos = len(search_results) - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user