zhangyong vor 1 Jahr
Ursprung
Commit
73193b52a8
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      main.py

+ 2 - 0
main.py

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