diff --git a/server/fishtest/api.py b/server/fishtest/api.py index 21adbb861..936629df3 100644 --- a/server/fishtest/api.py +++ b/server/fishtest/api.py @@ -25,7 +25,7 @@ on how frequently the main instance flushes its run cache. """ -WORKER_VERSION = 217 +WORKER_VERSION = 218 def validate_request(request): diff --git a/worker/games.py b/worker/games.py index 2dfcb3c14..108666acf 100644 --- a/worker/games.py +++ b/worker/games.py @@ -1012,7 +1012,7 @@ def shorten_hash(match): # Act on line like this: # Finished game 4 (Base-SHA vs New-SHA): 1/2-1/2 {Draw by adjudication} - if "Finished game" in line: + if line.startswith("Finished game"): update_pentanomial(line, rounds) else: raise WorkerException( diff --git a/worker/sri.txt b/worker/sri.txt index a3b3f439f..08b5b2b71 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -1 +1 @@ -{"__version": 217, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "cFunWo4iviMvzdV9b/8PTfOLoXbovy4hWwmGR6OI70agi5dkwoCJ07BoYwBU+xjd", "games.py": "pqyY62ZE491mecjnXvByfr1mMuhXU5NDg6BbE6WZ4aKuzR12bSFQUSHrQnDt7374"} +{"__version": 218, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "JTcLpyoueO7A/L7xaZVhPowKXwqXzIcQL615cc0Gm+bwbefz9hUNuIUyUD+pL8is", "games.py": "jvH/ezkXwWUtTniX0jbqhAsNWqn0BNkHtJZ6PK85HXBGwDdmPrVgfaPAUPN4Us9r"} diff --git a/worker/worker.py b/worker/worker.py index 372b94da7..30d8c89cd 100644 --- a/worker/worker.py +++ b/worker/worker.py @@ -54,7 +54,7 @@ # Several packages are called "expression". # So we make sure to use the locally installed one. -WORKER_VERSION = 217 +WORKER_VERSION = 218 FILE_LIST = ["updater.py", "worker.py", "games.py"] HTTP_TIMEOUT = 30.0 INITIAL_RETRY_TIME = 15.0