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

+ 2 - 0
main.py

@@ -28,6 +28,8 @@ def job_video_stitching():
     # 在这里编写需要执行的任务代码
     # 在这里编写需要执行的任务代码
     count = get_account_id()
     count = get_account_id()
     count = str(count).replace('(', '').replace(')', '').replace(',', '')
     count = str(count).replace('(', '').replace(')', '').replace(',', '')
+    if count == None:
+        count = 0
     if int(count) < 20:
     if int(count) < 20:
         Common.logger().info("开始执行")
         Common.logger().info("开始执行")
         VideoStitching.video_stitching()
         VideoStitching.video_stitching()