Browse Source

add sys.path.append(os.getcwd())

zhangyong 1 year ago
parent
commit
0d86c9042b

+ 0 - 2
video_capture/douyin/douyin_author/douyin_author.py

@@ -14,10 +14,8 @@ from common.aliyun_oss_uploading import Oss
 from common.common import Common
 from common.material import Material
 from common.feishu import Feishu
-
 from common.db import MysqlHelper
 from requests.adapters import HTTPAdapter
-
 from video_capture.douyin.douyin_author.douyin_author_help import DouYinHelper
 
 class douyinAuthor():

+ 2 - 1
video_stitching/video_stitching.py

@@ -8,6 +8,8 @@ import time
 
 import requests
 import urllib.parse
+sys.path.append(os.getcwd())
+
 from common.aliyun_oss_uploading import Oss
 from common.common import Common
 from common.db import MysqlHelper
@@ -15,7 +17,6 @@ from common.material import Material
 from moviepy.editor import VideoFileClip, concatenate_videoclips
 from moviepy import editor
 
-sys.path.append(os.getcwd())