From b8d9eb65f60d912526d0ceacdc4200eb98237f7c Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Mon, 11 Aug 2025 18:00:40 -0500 Subject: [PATCH] clean up milb upcoming --- src/milb_manager.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/milb_manager.py b/src/milb_manager.py index cfc85f11..30a08cc7 100644 --- a/src/milb_manager.py +++ b/src/milb_manager.py @@ -356,11 +356,6 @@ class BaseMiLBManager: self.logger.debug(f"[MiLB] Drawing date '{game_date_str}' at ({date_x}, {date_y}), size {date_width}x{date_height}") self._draw_text_with_outline(draw, game_date_str, (date_x, date_y), date_font) - # Debug rectangle around date text - try: - draw.rectangle([date_x-2, date_y-2, date_x+max(0, date_width)+2, date_y+date_height+2], outline=(255, 0, 0)) - except Exception: - pass # Draw time below date try: @@ -373,11 +368,7 @@ class BaseMiLBManager: self.logger.debug(f"[MiLB] Drawing time '{game_time_formatted_str}' at ({time_x}, {time_y}), size {time_width}x{time_height}") self._draw_text_with_outline(draw, game_time_formatted_str, (time_x, time_y), time_font) - # Debug rectangle around time text - try: - draw.rectangle([time_x-2, time_y-2, time_x+max(0, time_width)+2, time_y+time_height+2], outline=(0, 255, 0)) - except Exception: - pass + # Removed debug rectangles around text # For recent/final games, show scores and status elif game_data['status'] in ['status_final', 'final', 'completed']: