This was caught by mypy -- in general, generate_game_info_message expects game to exist (because it needs to iterate over game.seating_order. I haven't found a case where this causes an error, but I suspect it must do so in some cases. Probably there needs to be a separate function for generating the message during startgame vs during games.
This was caught by mypy -- in general,
generate_game_info_message
expects game to exist (because it needs to iterate over game.seating_order. I haven't found a case where this causes an error, but I suspect it must do so in some cases. Probably there needs to be a separate function for generating the message during startgame vs during games.