From: Ant Zucaro Date: Sun, 30 Dec 2012 21:27:28 +0000 (-0500) Subject: 404 when hashkey is not found. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=984a3ea6a4759845cc459c506d0f646c55c02176;p=xonotic%2Fxonstat.git 404 when hashkey is not found. --- diff --git a/xonstat/views/player.py b/xonstat/views/player.py index 8514260..24a6f26 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -740,13 +740,7 @@ def player_hashkey_info_data(request): ranks = get_ranks(player.player_id) except Exception as e: - raise e - player = None - games_played = None - overall_stats = None - fav_maps = None - elos = None - ranks = None + raise pyramid.httpexceptions.HTTPNotFound return {'player':player, 'hashkey':hashkey,