From 2ac2f17d1ae47f8ed5b2b88e4a16ea0a2923e2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hatvani=20Tam=C3=A1s?= <75033623+htamas1210@users.noreply.github.com> Date: Sun, 9 Nov 2025 15:01:42 +0100 Subject: [PATCH] Fix subprocess by adding decode to file path in upload_data.yml --- .github/workflows/upload_data.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload_data.yml b/.github/workflows/upload_data.yml index c46a507..7176f97 100644 --- a/.github/workflows/upload_data.yml +++ b/.github/workflows/upload_data.yml @@ -29,7 +29,7 @@ jobs: creds = json.load(open("service_account.json")) gc = gspread.service_account_from_dict(creds) sh = gc.open_by_key("${{ secrets.SPREADSHEET_ID }}") - v = subprocess.run(['git','rev-parse','--show-toplevel'], capture_output=True).stdout.strip() + v = subprocess.run(['git','rev-parse','--show-toplevel'], capture_output=True).stdout.decode().strip() print(f"{v}/test_data.log") with open(f"{v}/test_data.log", "r") as f: