]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Raise the 404 at the right scope.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 18 Dec 2016 23:26:56 +0000 (18:26 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 18 Dec 2016 23:26:56 +0000 (18:26 -0500)
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)