You've already forked my-video-workflow
初次提交
This commit is contained in:
6
util/file.py
Normal file
6
util/file.py
Normal file
@ -0,0 +1,6 @@
|
||||
import os
|
||||
|
||||
|
||||
def check_file_exist(file):
|
||||
if not os.path.isfile(file):
|
||||
raise FileNotFoundError("文件不存在:%s" % file)
|
Reference in New Issue
Block a user