on master help sign in
Don't throw away the request if pageno is wrong

Fix #424 but maybe only partially

commited1daa32ea393d24d3626bfc29306b1b354487fb authorCqoicebordel <Cqoicebordel@users.noreply.github.com> dateFri 18 Sep 2015, 20:44 (11 years ago) parent8adc801
1 file changed+1−1
searx/search.py+1−1
searx/search.py+1−1
@@ -358,7 +358,7 @@ class Search(object):
358358 # set pagenumber
359359 pageno_param = self.request_data.get('pageno', '1')
360360 if not pageno_param.isdigit() or int(pageno_param) < 1:
361− raise Exception('wrong pagenumber')
361+ pageno_param = 1
362362
363363 self.pageno = int(pageno_param)
364364