提交 8c83f793 编写于 作者: W wuzewu

change the default saved path while create hub module

上级 33d2ca1d
......@@ -30,9 +30,8 @@ def create_module(sign_arr, program, path=None, assets=None):
assert sign_arr, "signarture array should not be None"
if not path:
path = "."
path = os.path.join(".", "hub_module")
path = os.path.join(path, "hub_module")
assert not os.path.exists(path), "path %s should not be existed" % path
module = modulepb.ModuleDesc()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册