Remove unused page variable.
This commit is contained in:
parent
a3f2c794f5
commit
023acfaafe
1 changed files with 0 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ bp_listing = Blueprint("listing", __name__)
|
||||||
def init_listing_routes(app):
|
def init_listing_routes(app):
|
||||||
@bp_listing.get("/listing/<model>")
|
@bp_listing.get("/listing/<model>")
|
||||||
def show_list(model):
|
def show_list(model):
|
||||||
page_num = int(request.args.get("page", 1))
|
|
||||||
if model.lower() not in {"inventory", "user", "worklog"}:
|
if model.lower() not in {"inventory", "user", "worklog"}:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue