Skip to content

Commit

Permalink
Update games.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gahtan-syarif authored Jul 16, 2024
1 parent deaf11b commit 5796340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ def run_games(
if "start" in task:
print("Variable task sizes used. Opening offset = {}".format(opening_offset))
start_game_index = opening_offset + input_total_games
run_seed = int(hashlib.sha1(run["_id"].encode("utf-8")).hexdigest(), 16) % (2**30)
run_seed = int(hashlib.sha1(run["_id"].encode("utf-8")).hexdigest(), 16) % (2**64)

# Format options according to fastchess syntax.
def parse_options(s):
Expand Down

0 comments on commit 5796340

Please sign in to comment.