quote command

This commit is contained in:
Sander Land committed 2020-07-14 19:38:38 +02:00
1 parent 6d4497e15e
commit 04d9b99d65
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -42,10 +42,12 @@ class KataGoEngine:
self.analysis_thread = None
self.stderr_thread = None
exe = config.get("katago", "").strip()
if override_command:
self.command = override_command
elif exe.startswith('"') and exe.endswith('"'):
self.command = exe.strip('"')
else:
exe = config["katago"].strip()
if not exe:
if platform == "win":
exe = "katrain/KataGo/katago.exe"
+1 -1
View File
@@ -48,7 +48,7 @@ class MoveTreeCanvas(Widget):
self.dropdown.open(self.scroll_view_widget)
else:
self.menu_selected_node = None
if self.dropdown.attach_to:
if self.dropdown.attach_to:
self.dropdown.dismiss()
def close_dropdown(self, *largs):