From: Ant Zucaro Date: Sun, 18 Dec 2016 23:26:56 +0000 (-0500) Subject: Raise the 404 at the right scope. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f10fef185440b89317ee57cde14a6981e6200b10;p=xonotic%2Fxonstat.git Raise the 404 at the right scope. --- 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)