Fix transaction freeze bug

This commit is contained in:
Cal Corum 2023-03-25 13:25:51 -05:00
parent edddbdd3e4
commit 20cc1e065d

View File

@ -419,7 +419,7 @@ class Transactions(commands.Cog):
for move in [*all_moves.values()]:
if move['newteam']['abbrev'][-3:] == 'MiL':
new_team = get_one_team(move['newteam']['abbrev'][-3:], timeout=15)
new_team = await get_one_team(move['newteam']['abbrev'][-3:], timeout=15)
else:
new_team = move['newteam']
team_record = await get_team_record(new_team, week_num=current["week"])