From 34f61092c78541d6c399d1a02d197a05cc1220c1 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 16 Nov 2023 21:28:33 -0500 Subject: [PATCH] Set base dir on startup like before --- Client/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/client.py b/Client/client.py index b21e59a..85f5cb8 100644 --- a/Client/client.py +++ b/Client/client.py @@ -145,6 +145,9 @@ def download_client_files(args): if __name__ == '__main__': + # Use client.py's path as the base pathway + os.chdir(os.path.dirname(os.path.abspath(__file__))) + args = parse_arguments() if args.clean or not has_worker():