When the cutechess process dies, return to the main loop and check for a new workload

This commit is contained in:
AndyGrant committed 2019-10-05 03:27:30 -04:00
1 parent 0958078b11
commit bd478c4949
1 file changed
+1 -1
+1 -1
View File
@@ -305,7 +305,6 @@ def reportResults(data, wins, losses, draws, crashes, timeloss):
print ('<Warning> Unable to reach server')
return "Unable"
def completeWorkload(data):
# Download and verify bench of dev engine
@@ -363,6 +362,7 @@ def completeWorkload(data):
# Grab the next line of cutechess output
line = process.stdout.readline().strip().decode('ascii')
if line != '': print(line)
else: process.wait(); break
# Update the current score line
if line.startswith('Score of'):