paper-dynasty-discord/in_game
Cal Corum 329658ce8d Fix team_lineup crash when pitcher lacks pitcherscouting
Card 6605 (Ohtani) placed at position P had pitcherscouting_id=NULL,
causing AttributeError when accessing pitcherscouting.pitchingcard.hand.

Added null check with fallback to batterscouting hand or '?' if neither
scouting record exists.

Also fixed set notation bug on line 240 where {value} created a Python
set instead of a string.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:17:26 -06:00
..
ai_manager.py Allow manual override of xcheck 2025-01-26 11:50:33 -06:00
data_cache.py Update logging to RotatingFileHandler 2024-11-09 23:14:54 -06:00
game_helpers.py Helpers checks 2025-01-24 10:08:35 -06:00
gameplay_models.py Fix team_lineup crash when pitcher lacks pitcherscouting 2026-01-30 13:17:26 -06:00
gameplay_queries.py Update gameplay_queries.py 2025-07-23 08:58:41 -05:00
managerai_responses.py Batter subs plus cleanup 2024-12-23 10:09:11 -06:00
simulations.py Update api logging 2024-11-16 00:31:54 -06:00