Fix MLBRecentManager display method: Update display manager correctly without passing arguments

This commit is contained in:
ChuckBuilds
2025-04-24 16:04:37 -05:00
parent 14a09c722c
commit 9a6460eda1

View File

@@ -521,8 +521,9 @@ class MLBRecentManager(BaseMLBManager):
# Create and display the game image # Create and display the game image
game_image = self._create_game_display(self.current_game) game_image = self._create_game_display(self.current_game)
image_array = np.array(game_image) self.display_manager.image = game_image
self.display_manager.update_display(image_array) self.display_manager.draw = ImageDraw.Draw(self.display_manager.image)
self.display_manager.update_display()
except Exception as e: except Exception as e:
logger.error(f"[MLB] Error displaying recent game: {e}", exc_info=True) logger.error(f"[MLB] Error displaying recent game: {e}", exc_info=True)