From d138f1ee4e2b42d4007584a6290cd1d779d1e270 Mon Sep 17 00:00:00 2001 From: mythilytm Date: Tue, 23 Jul 2024 18:22:19 -0400 Subject: [PATCH] change to use google sheet id --- update_matrix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_matrix.py b/update_matrix.py index ed91c82..0f6e3b2 100644 --- a/update_matrix.py +++ b/update_matrix.py @@ -27,8 +27,8 @@ def main(): client = gspread.authorize(credentials) print("Google Sheets client authorized successfully.") - # Open the Google Sheet by name - sheet = client.open("ProductMatrices").worksheet("DeploymentMatrix") + # Open the Google Sheet by name' + sheet = client.open_by_key("1UccoRr51TiQR6tUsq3SrNsP9FVm0tMfhdWX7VvHXkbQ").worksheet("DeploymentMatrix") print("Google Sheet opened successfully.") # Update the sheets