Skip to content

Commit

Permalink
Clarify message
Browse files Browse the repository at this point in the history
  • Loading branch information
vondele committed Jul 6, 2023
1 parent 1c3f5b3 commit 2a55607
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,10 @@ def parse_cutechess_output(
else:
if not response["task_alive"]:
# This task is no longer necessary
print("Server told us task is no longer needed")
print(
"The server told us that no more games are needed for this task. "
"Moving to the next task."
)
return False
update_succeeded = True
num_games_updated = num_games_finished
Expand Down Expand Up @@ -991,7 +994,10 @@ def launch_cutechess(

if not req["task_alive"]:
# This task is no longer necessary
print("Server told us task is no longer needed")
print(
"The server told us that no more games are needed for this task. "
"Moving to the next task."
)
return False

result["spsa"] = {
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 206, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "R8rJ4c9ZQTbuSu80ayVyMs7D6/TOVR5qMn6R04XCsBp4BTkCKXfy7hSrpMaLa0nX", "games.py": "D+5sFwptbwAhvn+VM4oHyRwqUPfGUWLQPFbWHA/uK77rTUsU/r49gBMjjz6k5Ncq"}
{"__version": 206, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "R8rJ4c9ZQTbuSu80ayVyMs7D6/TOVR5qMn6R04XCsBp4BTkCKXfy7hSrpMaLa0nX", "games.py": "rrr7hO7D/HUL/YaCZKAxsoMHSU1co+m5hfSs0neaemUphZxklC5Acc6f8Cs8dZFn"}

0 comments on commit 2a55607

Please sign in to comment.