From 012fad8850736607604a5242718cef5b819da1e4 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sat, 16 Jan 2021 18:39:08 -0500 Subject: [PATCH] corrected midseries restart check --- the_prestige.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/the_prestige.py b/the_prestige.py index aa3590e..fc0269b 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1740,6 +1740,8 @@ async def start_league_day(channel, league, partial = False): if partial: missed_games = (league.day % league.series_length) - 1 + if missed_games == -1: + missed_games = league.series_length - 1 await league_day_watcher(channel, league, current_games, config()['simmadome_url']+ext, last, missed = missed_games) else: await league_day_watcher(channel, league, current_games, config()['simmadome_url']+ext, last)