修改答题文件格式问题
This commit is contained in:
@@ -38,7 +38,6 @@ async def run_answer(prjflag:str,title:str,content:Dict[str,str], output_file:st
|
|||||||
outInfo = {f'{title}':results}
|
outInfo = {f'{title}':results}
|
||||||
with open(output_file, 'a', encoding='utf-8') as f:
|
with open(output_file, 'a', encoding='utf-8') as f:
|
||||||
f.write(json.dumps(outInfo, ensure_ascii=False, indent=4))
|
f.write(json.dumps(outInfo, ensure_ascii=False, indent=4))
|
||||||
f.write(',\n')
|
|
||||||
|
|
||||||
# 主异步函数
|
# 主异步函数
|
||||||
async def excute(prjflag:str,filePath:str,outFilePath:str):
|
async def excute(prjflag:str,filePath:str,outFilePath:str):
|
||||||
|
|||||||
Reference in New Issue
Block a user