From d669c90de32c59a845d3d14db827dee87ce78cea Mon Sep 17 00:00:00 2001 From: Kevin Rode Date: Mon, 4 Jan 2021 22:23:26 -0500 Subject: [PATCH] debugging --- the_prestige.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 82d4901..ab2fac0 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -137,9 +137,11 @@ class StartGameCommand(Command): try: team_name1 = command.split("\n")[1].strip() team1 = get_team_fuzzy_search(team_name1) + print(team1) team_name2 = command.split("\n")[2].strip() team2 = get_team_fuzzy_search(team_name2) + print(team2) innings = int(command.split("\n")[3]) except IndexError: @@ -1217,6 +1219,6 @@ def get_team_fuzzy_search(team_name): teams = games.search_team(team_name.lower()) if len(teams) == 1: team = teams[0] - return + return client.run(config()["token"])