Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Created shell for set_team_stats method and called it in code

  • Loading branch information...
commit 580dec20038f874322be5351f1466b559c291ae9 1 parent 4f758f6
@johnzimmerman authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 foosbot.py
View
7 foosbot.py
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.