From f10fef185440b89317ee57cde14a6981e6200b10 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 18 Dec 2016 18:26:56 -0500 Subject: [PATCH] Raise the 404 at the right scope. --- xonstat/views/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonstat/views/map.py b/xonstat/views/map.py index ccc1529..ff375e2 100644 --- a/xonstat/views/map.py +++ b/xonstat/views/map.py @@ -206,7 +206,7 @@ def map_captimes_data(request): order_by(expr.asc(PlayerCaptime.fastest_cap)) except Exception as e: - raise httpexceptions.HTTPNotFound + raise HTTPNotFound map_captimes = Page(mct_q, current_page, items_per_page=20, url=page_url) -- 2.39.2