From 9404ffd8fc0e06c00ed3adde9384f260fcc645e3 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Fri, 15 Jan 2021 05:37:25 -0500 Subject: [PATCH] fixed season length --- leagues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leagues.py b/leagues.py index 7caf630..d30690c 100644 --- a/leagues.py +++ b/leagues.py @@ -235,7 +235,7 @@ class league_structure(object): return teams def season_length(self): - return self.constraints["division_games"]*(len(random.choice(random.choice(league))-1)) + self.constraints["inter_div_games"] + self.constraints["inter_league_games"] + return self.constraints["division_games"]*(len(random.choice(random.choice(self.league))-1)) + self.constraints["inter_div_games"] + self.constraints["inter_league_games"] def standings_embed(self): this_embed = Embed(color=Color.purple(), title=self.name)