提交 d910df93 编写于 作者: F feilong

增加项目类型习题+fix bug

上级 768a4191
...@@ -128,8 +128,6 @@ def read_project_markdown(file): ...@@ -128,8 +128,6 @@ def read_project_markdown(file):
start_desc = False start_desc = False
start_project = True start_project = True
print(desc)
print(project)
return "\n".join(desc), project[0].strip().replace("<", "").replace(">", "") return "\n".join(desc), project[0].strip().replace("<", "").replace(">", "")
...@@ -471,7 +469,7 @@ class TreeWalker: ...@@ -471,7 +469,7 @@ class TreeWalker:
try: try:
if meta["type"] == "code_options": if meta["type"] == "code_options":
doc = parse(state) doc = parse(state)
else: elif meta["type"] == "inscode_project":
walk_project_2_config(self.root) walk_project_2_config(self.root)
except ParsecError as err: except ParsecError as err:
index = state.index index = state.index
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册