From 2bb2d394afd24aacae0163052d46f3551d459dfc Mon Sep 17 00:00:00 2001 From: AndyGrant Date: Sat, 29 May 2021 23:38:01 -0400 Subject: [PATCH] Linux fix --- Client/Client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/Client.py b/Client/Client.py index a85835d..b43ed37 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -335,7 +335,7 @@ def server_download_cutechess(arguments): if not locate_utility('cutechess.exe', False): raise Exception - if IS_LINUX and not locate_utility('cutechess', False, False): + if IS_LINUX and not locate_utility('./cutechess', False, False): # Fetch the source location if we are missing the binary source = requests.get( @@ -347,7 +347,7 @@ def server_download_cutechess(arguments): os.system('chmod 777 cutechess') # Verify that we can execute Cutechess - if not locate_utility('cutechess', False): + if not locate_utility('./cutechess', False): raise Exception @try_until_success(mesg=ERRORS['configure'])