From 6aa499b7fa304a3b2bd767924d1e10d7be3c49bc Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 18 Nov 2011 15:53:00 -0500 Subject: [PATCH] Fix indentation issues. Whoops. --- xonstat/views/submission.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index fcd291b..6f776a2 100755 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -259,10 +259,10 @@ def get_or_create_player(session=None, hashkey=None, nick=None): player.nick = "Anonymous Player #{0}".format(player.player_id) player.stripped_nick = player.nick - hashkey = Hashkey(player_id=player.player_id, hashkey=hashkey) - session.add(hashkey) - log.debug("Created player {0} ({2}) with hashkey {1}".format( - player.player_id, hashkey.hashkey, player.nick.encode('utf-8'))) + hashkey = Hashkey(player_id=player.player_id, hashkey=hashkey) + session.add(hashkey) + log.debug("Created player {0} ({2}) with hashkey {1}".format( + player.player_id, hashkey.hashkey, player.nick.encode('utf-8'))) return player -- 2.39.2