提交 22fd0adb 编写于 作者: H hjdhnx

增加一个doc目录升级

上级 4dec522b
......@@ -151,7 +151,7 @@ def copy_to_update():
logger.info(f'升级失败,找不到目录{dr_path}')
return False
# 千万不能覆盖super,base
paths = ['js','models','controllers','libs','static','templates','utils','txt','jiexi','py','whl']
paths = ['js','models','controllers','libs','static','templates','utils','txt','jiexi','py','whl','doc']
exclude_files = ['txt/pycms0.json','txt/pycms1.json','txt/pycms2.json','base/rules.db']
for path in paths:
force_copy_files(os.path.join(dr_path, path),os.path.join(base_path, path),exclude_files)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册