|
@@ -3,6 +3,8 @@ import sys
|
|
|
import threading
|
|
|
import schedule
|
|
|
import time
|
|
|
+import functools
|
|
|
+
|
|
|
sys.path.append(os.getcwd())
|
|
|
from common.db import MysqlHelper
|
|
|
from video_capture.douyin.douyin_author.douyin_author import douyinAuthor
|
|
@@ -33,7 +35,7 @@ token_thread = threading.Thread(target=check_token)
|
|
|
token_thread.start()
|
|
|
|
|
|
# 每天下午4点定时启动 video_stitching 方法
|
|
|
-schedule.every().day.at("16:00").do(VideoStitching.video_stitching())
|
|
|
+schedule.every().day.at("16:00").do(functools.partial(VideoStitching.video_stitching))
|
|
|
|
|
|
|
|
|
while True:
|