Fix subprocess by adding decode to file path in upload_data.yml

This commit is contained in:
Hatvani Tamás
2025-11-09 15:01:42 +01:00
committed by GitHub
parent 7cd4bb6b09
commit 2ac2f17d1a

View File

@@ -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: