From ff74af005e4309ece36b58d8cf40cea86587daca Mon Sep 17 00:00:00 2001 From: Sakimori Date: Wed, 24 Feb 2021 16:19:11 -0500 Subject: [PATCH] fixed a bug making leagues autopause after a single series --- the_prestige.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 5d61edd..9b147fc 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -2273,7 +2273,7 @@ async def league_day_watcher(channel, league, games_list, filter_url, last = Fal else: league.active = False - if league.autoplay <= 0 or config()["game_freeze"]: #if number of series to autoplay has been reached + if league.autoplay == 0 or config()["game_freeze"]: #if number of series to autoplay has been reached active_standings[league] = await channel.send(embed=league.standings_embed()) await channel.send(f"The {league.name} is no longer autoplaying.") if config()["game_freeze"]: