Permalink
Browse files

Created shell for set_team_stats method and called it in code

  • Loading branch information...
1 parent 4f758f6 commit 580dec20038f874322be5351f1466b559c291ae9 @johnzimmerman committed Mar 6, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 foosbot.py
View
@@ -291,6 +291,9 @@ def handle_message(self, sender, message):
'successfully scored. Now leaving '
'scoring mode.' % self.match_num)
+ # Populate team wins/losses
+ set_team_stats(self.match_num)
+
# flush variables
self.match_num = 0
self.num_games = 0
@@ -389,6 +392,10 @@ def check_if_int(message):
except Exception:
return False
+
+
+def set_team_stats(match_id):
+ pass
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG,

0 comments on commit 580dec2

Please sign in to comment.