bug fix / ime testing

This commit is contained in:
Sander Land committed 2020-07-18 00:48:05 +02:00
1 parent a03fce3cce
commit 62427dbdb4
5 files changed
+69 -31

No files matched your search

+4 -5
View File
@@ -32,12 +32,11 @@ class GameNode(SGFNode):
else:
show_class = False
if (
(save_comments_player or {}).get(self.player, False)
and show_class
and self.analysis_ready
and self.parent
self.parent
and self.parent.analysis_ready
) or note:
and self.analysis_ready
and (note or ((save_comments_player or {}).get(self.player, False) and show_class))
):
candidate_moves = self.parent.candidate_moves
top_x = Move.from_gtp(candidate_moves[0]["move"]).sgf(self.board_size)
best_sq = [