From: azucaro Date: Wed, 27 Apr 2011 12:54:19 +0000 (-0400) Subject: match -> matched (whoops, missed that one). X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51a65d52d86831dad8c85df656d6fefe65d50881;p=xonotic%2Fxonstat.git match -> matched (whoops, missed that one). --- diff --git a/xonstat/views.py b/xonstat/views.py index cb0da9a..7a406d4 100755 --- a/xonstat/views.py +++ b/xonstat/views.py @@ -176,7 +176,7 @@ def create_player_weapon_stats(session=None, player=None, for (key,value) in player_events.items(): matched = re.search("acc-(.*?)-cnt-fired", key) if matched: - weapon_cd = match.group(1) + weapon_cd = matched.group(1) try: pwstat = PlayerWeaponStat() pwstat.player_id = player.player_id