zhangyong преди 1 година
родител
ревизия
e784506d40
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      main.py

+ 6 - 6
main.py

@@ -21,16 +21,16 @@ def job_video_stitching():
     koubo_count = sql.get_koubo_account_id()
     jieri_count = sql.get_jieri_account_id()
     ks_yinmei_count = sql.get_ks_yinmei_account_id()
-    if int(jieri_count) < 20:
-        Common.logger("video").info("开始执行-口播-小年")
-        video_type = "口播--美文类"
-        channel_type = "xiaonian"
-        VideoStitching.video_stitching(video_type, koubo_count, channel_type)
-    elif int(ks_yinmei_count) < 10:
+    if int(ks_yinmei_count) < 10:
         Common.logger("video").info("开始执行-快手")
         video_type = "音画美文"
         channel_type = "kuaishou"
         VideoStitching.video_stitching(video_type, ks_yinmei_count, channel_type)
+    elif int(jieri_count) < 20:
+        Common.logger("video").info("开始执行-口播-小年")
+        video_type = "口播--美文类"
+        channel_type = "xiaonian"
+        VideoStitching.video_stitching(video_type, koubo_count, channel_type)
     elif int(dy_yinmei_count) < 10:
         Common.logger("video").info("开始执行-抖音")
         video_type = "音画美文"