You've already forked my-video-workflow
config加载,视频gpu参数兼容
This commit is contained in:
@ -31,6 +31,7 @@ BILILIVE_RECORDER_DIRECTORY = "./"
|
||||
# xigua_dir
|
||||
XIGUALIVE_RECORDER_DIRECTORY = "./"
|
||||
|
||||
|
||||
def load_config():
|
||||
if not os.path.exists("config.ini"):
|
||||
write_config()
|
||||
@ -103,3 +104,6 @@ def write_config():
|
||||
with open("config.ini", "w", encoding="utf-8") as f:
|
||||
config.write(f)
|
||||
return True
|
||||
|
||||
|
||||
load_config()
|
||||
|
Reference in New Issue
Block a user