open with #290
This commit is contained in:
1 parent
0a77e35ce4
commit
e6110ff9bc
1 file changed
+4
-1
+4
-1
@@ -157,7 +157,10 @@ class KaTrainGui(Screen, KaTrainBase):
|
||||
self.board_gui.trainer_config = self.config("trainer")
|
||||
self.engine = KataGoEngine(self, self.config("engine"))
|
||||
threading.Thread(target=self._message_loop_thread, daemon=True).start()
|
||||
self._do_new_game()
|
||||
if len(sys.argv) == 2 and os.path.isfile(sys.argv[1]):
|
||||
self.load_sgf_file(sys.argv[1], fast=True, rewind=True)
|
||||
else:
|
||||
self._do_new_game()
|
||||
|
||||
def update_gui(self, cn, redraw_board=False):
|
||||
# Handle prisoners and next player display
|
||||
|
||||
Reference in new issue
Block a user