zhangyong 11 months ago
parent
commit
b6aa1c872e
1 changed files with 2 additions and 2 deletions
  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 = {