Skip to content

Commit

Permalink
Created shell for set_team_stats method and called it in code
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzimmerman committed Mar 6, 2012
1 parent 4f758f6 commit 580dec2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions foosbot.py
Expand Up @@ -291,6 +291,9 @@ def handle_message(self, sender, message):
'successfully scored. Now leaving ' 'successfully scored. Now leaving '
'scoring mode.' % self.match_num) 'scoring mode.' % self.match_num)


# Populate team wins/losses
set_team_stats(self.match_num)

# flush variables # flush variables
self.match_num = 0 self.match_num = 0
self.num_games = 0 self.num_games = 0
Expand Down Expand Up @@ -389,6 +392,10 @@ def check_if_int(message):


except Exception: except Exception:
return False return False


def set_team_stats(match_id):
pass


if __name__ == '__main__': if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG, logging.basicConfig(level=logging.DEBUG,
Expand Down

0 comments on commit 580dec2

Please sign in to comment.