]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
match -> matched (whoops, missed that one).
authorazucaro <azucaro@2QJ7BK1-RO.Org.Collegeboard.local>
Wed, 27 Apr 2011 12:54:19 +0000 (08:54 -0400)
committerazucaro <azucaro@2QJ7BK1-RO.Org.Collegeboard.local>
Wed, 27 Apr 2011 12:54:19 +0000 (08:54 -0400)
xonstat/views.py

index cb0da9a5d0862cbdb13640e3c50d363ee7e2e8a3..7a406d49dd97a18090da03ab47e8ad00a83c7f8d 100755 (executable)
@@ -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