]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/__init__.py
refactored views in preparation for json output
[xonotic/xonstat.git] / xonstat / __init__.py
index d3a6d98a5ca8e1e07d1fe185658c06bbe583acd2..5a164ef4c7dbcefbf0847ca1cd7ef26e2a412a23 100755 (executable)
@@ -42,7 +42,7 @@ def main(global_config, **settings):
         renderer="player_info.mako")
 
     config.add_route("player_accuracy", "/player/{id:\d+}/accuracy")
-    config.add_view(player_accuracy, route_name="player_accuracy",
+    config.add_view(player_accuracy_json, route_name="player_accuracy",
         renderer="json")
 
     # GAME ROUTES