]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/map.py
Raise the 404 at the right scope.
[xonotic/xonstat.git] / xonstat / views / map.py
index ccc1529652295899a241e66efe62150cc5e3e8b1..ff375e2df711b4aa4b2cbd5b2b2cd409fba72768 100644 (file)
@@ -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)