From 6b9a721b037a6a6955212b83d57d4a3061e30ee8 Mon Sep 17 00:00:00 2001 From: Andrew Grant Date: Mon, 28 Jun 2021 18:45:25 -0400 Subject: [PATCH] Update to use rawgithub --- Client/Client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/Client.py b/Client/Client.py index b61f920..7b27f40 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -327,7 +327,7 @@ def server_download_cutechess(arguments): timeout=TIMEOUT_HTTP).content.decode('utf-8') # Windows workers simply need a static compile (64-bit) - download_file(url_join(source, 'cutechess-windows.exe'), 'cutechess-ob.exe') + download_file(url_join(source, 'cutechess-windows.exe').rstrip('/'), 'cutechess-ob.exe') # Verify that we can execute Cutechess if not locate_utility('cutechess-ob.exe', False): @@ -341,7 +341,7 @@ def server_download_cutechess(arguments): timeout=TIMEOUT_HTTP).content.decode('utf-8') # Linux workers need a static compile (64-bit) with execute permissions - download_file(url_join(source, 'cutechess-linux'), 'cutechess-ob') + download_file(url_join(source, 'cutechess-linux').rstrip('/'), 'cutechess-ob') os.system('chmod 777 cutechess-ob') # Verify that we can execute Cutechess