Explorar el Código

add google spread sheet update

ming hace 3 años
padre
commit
fe7de7a802
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -78,7 +78,7 @@ def make_ci_df():
         df = df.append({'serial id':row['id'],'e-mail':row['email'],'登記時間':row['timestamp']}, ignore_index=True)
 
     df = df[['serial id','e-mail','登記時間']]
-    save_sheet(df,'email_rec','Sheet1')
+    save_sheet(df,'subscribe_rec','Sheet1')
 
 def save_sheet(df,filename,tabname,startpos='A1'):
     scope = ['https://spreadsheets.google.com/feeds',