Update preliminary functionality to open a range of search results
This commit is contained in:
parent
d4f2211a25
commit
6c1db4e05d
4
buku
4
buku
@ -1287,10 +1287,10 @@ def prompt(results, noninteractive=False, delete=False):
|
||||
except Exception as e:
|
||||
_, _, linenumber, func, _, _ = inspect.stack()[0]
|
||||
logger.error('%s(), ln %d: %s', func, linenumber, e)
|
||||
elif "-" in nav and is_int(nav.split("-")[0]) and is_int(nav.split("-")[1]):
|
||||
elif "-" in nav and is_int(nav.split("-")[0]) and is_int(nav.split("-")[1]):
|
||||
lower = int(nav.split("-")[0])
|
||||
upper = int(nav.split("-")[1])
|
||||
for index in range(lower-1,upper-1):
|
||||
for index in range(lower-1,upper):
|
||||
try:
|
||||
browser_open(unquote(results[index][1]))
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user