From 023acfaafe26ef638fa8625ba6ec41c43e870e26 Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Tue, 23 Sep 2025 13:52:59 -0500 Subject: [PATCH] Remove unused page variable. --- inventory/routes/listing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/inventory/routes/listing.py b/inventory/routes/listing.py index 1cac645..56b1601 100644 --- a/inventory/routes/listing.py +++ b/inventory/routes/listing.py @@ -10,7 +10,6 @@ bp_listing = Blueprint("listing", __name__) def init_listing_routes(app): @bp_listing.get("/listing/") def show_list(model): - page_num = int(request.args.get("page", 1)) if model.lower() not in {"inventory", "user", "worklog"}: abort(404)