corrected midseries restart check

This commit is contained in:
Sakimori 2021-01-16 18:39:08 -05:00
parent c461c6cd39
commit 012fad8850

View File

@ -1740,6 +1740,8 @@ async def start_league_day(channel, league, partial = False):
if partial: if partial:
missed_games = (league.day % league.series_length) - 1 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) await league_day_watcher(channel, league, current_games, config()['simmadome_url']+ext, last, missed = missed_games)
else: else:
await league_day_watcher(channel, league, current_games, config()['simmadome_url']+ext, last) await league_day_watcher(channel, league, current_games, config()['simmadome_url']+ext, last)