summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index 02676a149..655b7808a 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -156,7 +156,7 @@ class Search(object):
# set pagenumber
pageno_param = self.request_data.get('pageno', '1')
if not pageno_param.isdigit() or int(pageno_param) < 1:
- raise Exception('wrong pagenumber')
+ pageno_param = 1
self.pageno = int(pageno_param)