diff --git a/files/routes/front.py b/files/routes/front.py index 571aaa81b..f66057a5f 100755 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -111,7 +111,7 @@ def front_all(v): if v and request.path.startswith('/logged_out'): v = None - try: page = max(int(request.values.get("page", 1), 1) + try: page = max(int(request.values.get("page", 1)), 1) except: abort(400) if v: