Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def save_to_google_sheets(inputs, a_score, d_score, s_score, t_score, score):
|
|
| 85 |
client = gspread.authorize(creds)
|
| 86 |
|
| 87 |
# 2. 開啟指定名稱的試算表 (確保已分享權限給 service account)
|
| 88 |
-
sheet = client.open("DASS使用者測試資料
|
| 89 |
|
| 90 |
|
| 91 |
# 1. 拆分資料:前 3 個是基本資料,後面剩下的 (*rest) 是 12 題答案
|
|
|
|
| 85 |
client = gspread.authorize(creds)
|
| 86 |
|
| 87 |
# 2. 開啟指定名稱的試算表 (確保已分享權限給 service account)
|
| 88 |
+
sheet = client.open("DASS使用者測試資料").sheet1 # 存於檔案的第一張工作表
|
| 89 |
|
| 90 |
|
| 91 |
# 1. 拆分資料:前 3 個是基本資料,後面剩下的 (*rest) 是 12 題答案
|