“b72beee4f0a9521e97d7f8a5c6ead51f38c05522”上不存在“paddle/gserver/layers/SwitchOrderLayer.h”
提交 59521dbb 编写于 作者: W wuzewu

Fix module install bug

上级 4784a3f2
...@@ -212,6 +212,7 @@ class LocalModuleManager(object): ...@@ -212,6 +212,7 @@ class LocalModuleManager(object):
fp.write(md5_value) fp.write(md5_value)
save_path = os.path.join(MODULE_HOME, module_name) save_path = os.path.join(MODULE_HOME, module_name)
if save_path != module_dir:
if os.path.exists(save_path): if os.path.exists(save_path):
shutil.rmtree(save_path) shutil.rmtree(save_path)
if from_user_dir: if from_user_dir:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册