Fix subprocess by adding decode to file path in upload_data.yml
This commit is contained in:
2
.github/workflows/upload_data.yml
vendored
2
.github/workflows/upload_data.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user