From 532cad614880eb4ae31491a93305ed3b0498aaf6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 1 Mar 2019 04:15:37 +0530 Subject: [PATCH] Fix lint warning --- buku | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buku b/buku index 9e06140..5f7da27 100755 --- a/buku +++ b/buku @@ -1988,11 +1988,11 @@ class BukuDb: # If range starts from 0 throw an error if low <= 0: raise IndexError - else: - qry = 'SELECT URL from bookmarks where id BETWEEN ? AND ?' - for row in self.cur.execute(qry, (low, high)): - browse(row[0]) - return True + + qry = 'SELECT URL from bookmarks where id BETWEEN ? AND ?' + for row in self.cur.execute(qry, (low, high)): + browse(row[0]) + return True except IndexError: LOGERR('Index out of range') return False