Range doesn't include stop

This commit is contained in:
Arun Prakash Jana 2016-06-17 03:36:51 +05:30
parent 2abeffe4c5
commit 4c29962acc
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB

2
buku
View File

@ -678,7 +678,7 @@ class BukuDb:
except IndexError:
print('Index out of bound')
for index in range(low, high):
for index in range(low, high + 1):
self.compactdb(index)
elif index == 0: # Remove the table
resp = input('ALL bookmarks will be removed. Enter \x1b[1my\x1b[21m to confirm: ')