Skip to content

Commit

Permalink
Clarify message
Browse files Browse the repository at this point in the history
  • Loading branch information
vondele committed Jul 12, 2023
1 parent a72b999 commit 6108227
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 the current 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 the current 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": 207, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "6v8r4DGKbGAS8joczJrNjO3xX4/QImrKkU4xOpNXc5PGy4kFNgcyvxGc96FsUVww", "games.py": "LI8f72sm9yoqxO0sJPbpXTSGIgVfJhb0WuKPZ2AU2z0QCz/4IYnfYik+B/NiWG7x"}
{"__version": 207, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "6v8r4DGKbGAS8joczJrNjO3xX4/QImrKkU4xOpNXc5PGy4kFNgcyvxGc96FsUVww", "games.py": "I7dj8ULR4KJR9ZEWEBoPdShj+R02EER6WvPvfCqk8js1q7/Oo6RZfLcvABTBXmjs"}

0 comments on commit 6108227

Please sign in to comment.