zhangyong 11 月之前
父节点
当前提交
0e143960ef
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      common/feishu_form.py

+ 3 - 5
common/feishu_form.py

@@ -59,10 +59,8 @@ class Material():
             video_id_total = count_items(str(video_id), ',')
             video_id_total = count_items(str(video_id), ',')
             new_id_total = count_items(str(new_id), ',')
             new_id_total = count_items(str(new_id), ',')
             title_total = count_items(str(title), '/')
             title_total = count_items(str(title), '/')
-            crop_total = count_items(str(crop_tool))
-            gg_duration_total = count_items(str(gg_duration))
 
 
-            values = [old_id_total, video_id_total, new_id_total, video_share, video_ending, title_total]
+            values = [old_id_total, video_id_total, new_id_total, video_share, video_ending, crop_tool, gg_duration, title_total]
             task_mark = "_".join(map(str, values))
             task_mark = "_".join(map(str, values))
 
 
             if new_id and new_id not in {'None', ''}:
             if new_id and new_id not in {'None', ''}:
@@ -75,8 +73,8 @@ class Material():
                     "title": title,
                     "title": title,
                     "video_share": video_share,
                     "video_share": video_share,
                     "video_ending": video_ending,
                     "video_ending": video_ending,
-                    "crop_total": crop_total,
-                    "gg_duration_total": gg_duration_total,
+                    "crop_total": crop_tool,
+                    "gg_duration_total": gg_duration,
                 }
                 }
                 processed_list.append(number_dict)
                 processed_list.append(number_dict)
             else:
             else: