]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Uncomment elo processing code.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 29 Oct 2012 20:56:48 +0000 (16:56 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 29 Oct 2012 20:56:48 +0000 (16:56 -0400)
xonstat/views/submission.py

index 26ba45ce7b50eabf649c7499e3b2f8d76f428dfa..7b4db4e981c783602118f5c5ce712d19c16bb858 100644 (file)
@@ -698,10 +698,10 @@ def stats_submit(request):
                         player_events=player_events, game_meta=game_meta)
 
         # update elos
-        #try:
-            #process_elos(game, session)
-        #except Exception as e:
-            #log.debug('Error (non-fatal): elo processing failed.')
+        try:
+            process_elos(game, session)
+        except Exception as e:
+            log.debug('Error (non-fatal): elo processing failed.')
 
         session.commit()
         log.debug('Success! Stats recorded.')