Merge branch 'master' of www.github.com:sanderland/katrain into v1.0.4

This commit is contained in:
Sander Land committed 2020-05-09 13:11:40 +02:00
commit 74d6a2f080
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ class KataGoEngine:
def __init__(self, katrain, config):
self.katrain = katrain
self.command = f"{config['katago']} analysis -model {config['model']} -config {config['config']} -analysis-threads {config['threads']}"
if "win" not in sys.platform:
if not sys.platform.startswith("win"):
self.command = shlex.split(self.command)
self.queries = {} # outstanding query id -> start time and callback
self.config = config