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

Fix moduleinfo bug

上级 afb34a7f
...@@ -122,7 +122,7 @@ class Module(object): ...@@ -122,7 +122,7 @@ class Module(object):
if _decorator.func.id != 'moduleinfo': if _decorator.func.id != 'moduleinfo':
continue continue
info = {key.arg: key.value.s for key in _decorator.keywords} info = {key.arg: key.value.s for key in _decorator.keywords if key.arg != 'meta'}
return EasyDict(info) return EasyDict(info)
else: else:
raise InvalidHubModule(directory) raise InvalidHubModule(directory)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册