Update preliminary functionality to open a range of search results

This commit is contained in:
Kevin Fong 2016-09-01 01:48:04 -07:00
parent d4f2211a25
commit 6c1db4e05d

2
buku
View File

@ -1290,7 +1290,7 @@ def prompt(results, noninteractive=False, delete=False):
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: