From: Ant Zucaro Date: Mon, 3 Oct 2011 16:01:46 +0000 (-0400) Subject: Remove joins from player stat creation requirements. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=541058cbcaca64026063cb89e7673020cc424f72;p=xonotic%2Fxonstat.git Remove joins from player stat creation requirements. --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 413fede..847a643 100755 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -301,8 +301,8 @@ def create_player_stats(session=None, player=None, game=None, """ Creates player game and weapon stats according to what type of player """ - if 'joins' in player_events and 'matches' in player_events\ - and 'scoreboardvalid' in player_events: + # remove 'joins' from here even though it should be required + if 'matches' in player_events and 'scoreboardvalid' in player_events: pgstat = create_player_game_stat(session=session, player=player, game=game, player_events=player_events)