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

+ 2 - 2
common/feishu_form.py

@@ -59,9 +59,9 @@ class Material():
             video_id_total = count_items(str(video_id), ',')
             new_id_total = count_items(str(new_id), ',')
             title_total = count_items(str(title), '/')
-
             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))
+            filtered_values = [str(value) for value in values if value is not None and value != "None"]
+            task_mark = "_".join(map(str, filtered_values))
 
             if new_id and new_id not in {'None', ''}:
                 number_dict = {