From c3e3ba1d58eb72ade35f47f8e6159f8198f351cb Mon Sep 17 00:00:00 2001 From: Sander Land Date: Thu, 16 Apr 2020 18:41:33 +0200 Subject: [PATCH] .. --- gui/badukpan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/badukpan.py b/gui/badukpan.py index dd9ef67..687fc45 100644 --- a/gui/badukpan.py +++ b/gui/badukpan.py @@ -53,8 +53,8 @@ class BadukPanWidget(Widget): if nodes_here and max(yd, xd) < self.grid_size / 2: # load old comment katrain.log(f"\nAnalysis:\n{nodes_here[-1].analysis}", OUTPUT_DEBUG) katrain.log(f"\nParent Analysis:\n{nodes_here[-1].parent.analysis}", OUTPUT_DEBUG) - if not katrain.ai_lock.active: - katrain.info.text = nodes_here[-1].comment(sgf=True) + if not katrain.controls.ai_lock.active: + katrain.controls.info.text = nodes_here[-1].comment(sgf=True) katrain.show_evaluation_stats(nodes_here[-1]) self.ghost_stone = None