Skip to content

Commit f032983

Browse files
Copilotfsmosca
andcommitted
Clarify adviser no-move display
Agent-Logs-Url: https://github.com/fsmosca/Python-Easy-Chess-GUI/sessions/bd37aa40-7697-4a58-83fa-686e0e9b2592 Co-authored-by: fsmosca <22366935+fsmosca@users.noreply.github.com>
1 parent b166773 commit f032983

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python_easy_chess_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ def play_game(self, window: sg.Window, board: chess.Board):
21092109
else:
21102110
bestmove_parts = msg.split(maxsplit=1)
21112111
bestmove = bestmove_parts[1] \
2112-
if len(bestmove_parts) > 1 else 'None'
2112+
if len(bestmove_parts) > 1 else '(none)'
21132113
adviser_line = f'bestmove {bestmove}'
21142114
adviser_line += ' - ' + self.adviser_id_name
21152115
window.Element('advise_info_k').Update(adviser_line)

0 commit comments

Comments
 (0)