From 393afb7c8dd6ba9ad376ea5c89c5b95ff036ff12 Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Mon, 7 Oct 2024 11:44:24 -0400 Subject: [PATCH] Fix offday calculation --- data/schedule.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data/schedule.py b/data/schedule.py index 194e0f45..45c2cfff 100644 --- a/data/schedule.py +++ b/data/schedule.py @@ -82,10 +82,7 @@ def is_offday_for_preferred_team(self): return True def is_offday(self): - if self.config.standings_no_games: - return not len(self.__all_games) # care about all MLB - else: # only care if we can't rotate a game - return not len(self._games) + return not len(self.__all_games) # care about all MLB def games_live(self): return any(status.is_fresh(g["status"]) or (status.is_live(g["status"])) for g in self._games)