提交 0b42516f 编写于 作者: W wuzewu

fix yaml warning

上级 b7edb76c
......@@ -52,7 +52,7 @@ class YAMLFileParser:
def parse(self, yaml_file):
with open(yaml_file, "r") as file:
content = file.read()
return yaml.load(content)
return yaml.load(content, Loader=yaml.BaseLoader)
class TextFileParser:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册