Skip to content

Commit

Permalink
fix: logging syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBarton446 committed Apr 21, 2024
1 parent d2d3463 commit 5e82507
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shogi-ai/agents/mcts_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def get_child_from_move(self, move: Move):
if child.move == move:
return child
logger.warning(
"{move} not in tree:\n %s", {[str(child.move) for child in all_children]}
"%s not in tree:\n %s",
str(move),
str([str(child.move) for child in all_children]),
)
return None

Expand Down

0 comments on commit 5e82507

Please sign in to comment.