提交 012314b3 编写于 作者: H hjdhnx

尝试修复升级脚本

上级 f0e9ac68
3.7.12
\ No newline at end of file
3.7.13
\ No newline at end of file
......@@ -106,6 +106,8 @@ def force_copy_files(from_path, to_path, exclude_files=None):
if exclude_files is None:
exclude_files = []
logger.info(f'开始拷贝文件{from_path}=>{to_path}')
if not os.path.exists(to_path):
os.makedirs(to_path,exist_ok=True)
try:
if sys.version_info < (3, 8):
copytree(from_path, to_path,exclude_files)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册