Ver código fonte

fix insert_columns

wangkun 3 anos atrás
pai
commit
c8ff312843
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      main/download_play_sendtime.py
  2. 1 1
      main/download_sendtime.py

+ 1 - 1
main/download_play_sendtime.py

@@ -175,7 +175,7 @@ class DownloadPlaySendtime:
                         # https://w42nne6hzg.feishu.cn/sheets/shtcngRPoDYAi24x52j2nDuHMih?sheet=20ce0c
                         Common.logger().info("保存视频ID至云文档:{}", download_video_title)
                         # 看一看+ ,视频ID工作表,插入首行
-                        Feishu.insert_columns("20ce0c", "rows", 1, 2)
+                        Feishu.insert_columns("20ce0c", "ROWS", 1, 2)
                         # 看一看+ ,视频ID工作表,首行写入数据
                         upload_time = int(time.time())
                         values = [[time.strftime("%Y/%m/%d %H:%M:%S", time.localtime(upload_time)),

+ 1 - 1
main/download_sendtime.py

@@ -183,7 +183,7 @@ class DownloadSendtime:
                         # https://w42nne6hzg.feishu.cn/sheets/shtcngRPoDYAi24x52j2nDuHMih?sheet=20ce0c
                         Common.logger().info("保存视频ID至云文档:{}", download_video_title)
                         # 看一看+ ,视频ID工作表,插入首行
-                        Feishu.insert_columns("20ce0c", "rows", 1, 2)
+                        Feishu.insert_columns("20ce0c", "ROWS", 1, 2)
                         # 看一看+ ,视频ID工作表,首行写入数据
                         upload_time = int(time.time())
                         values = [[time.strftime("%Y/%m/%d %H:%M:%S", time.localtime(upload_time)),