diff --git a/leagues.py b/leagues.py index d30690c..307497e 100644 --- a/leagues.py +++ b/leagues.py @@ -235,8 +235,8 @@ class league_structure(object): return teams def season_length(self): - return self.constraints["division_games"]*(len(random.choice(random.choice(self.league))-1)) + self.constraints["inter_div_games"] + self.constraints["inter_league_games"] - + return int(list(self.schedule.keys())[-1]) * self.series_length + def standings_embed(self): this_embed = Embed(color=Color.purple(), title=self.name) standings = {} diff --git a/the_prestige.py b/the_prestige.py index 54286c2..50d64af 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1915,6 +1915,7 @@ async def league_postseason(channel, league): await asyncio.sleep(wait_seconds) await start_tournament_round(channel, world_series) league.champions[str(league.season)] = world_series.winner.name + leagues.save_league(league)