Explorar o código

调整生成顺序

zhangyong hai 1 ano
pai
achega
f2380ba58f
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      main.py

+ 5 - 5
main.py

@@ -24,16 +24,16 @@ def job_video_stitching():
         video_type = "音画美文"
         channel_type = "douyin"
         VideoStitching.video_stitching(video_type, dy_yinmei_count, channel_type)
-    elif int(koubo_count) < 10:
-        Common.logger().info("开始执行")
-        video_type = "口播--美文类"
-        channel_type = "koubo"
-        VideoStitching.video_stitching(video_type, koubo_count, channel_type)
     elif int(ks_yinmei_count) < 10:
         Common.logger().info("开始执行")
         video_type = "音画美文"
         channel_type = "kuaishou"
         VideoStitching.video_stitching(video_type, ks_yinmei_count, channel_type)
+    elif int(koubo_count) < 10:
+        Common.logger().info("开始执行")
+        video_type = "口播--美文类"
+        channel_type = "koubo"
+        VideoStitching.video_stitching(video_type, koubo_count, channel_type)
     count = int(dy_yinmei_count + koubo_count + ks_yinmei_count)
     if count == 30:
         if flag: