修改答题文件格式问题

This commit is contained in:
wanyaokun
2024-09-18 10:30:58 +08:00
parent f2df0d894a
commit 03586a9b0d
-1
View File
@@ -38,7 +38,6 @@ async def run_answer(prjflag:str,title:str,content:Dict[str,str], output_file:st
outInfo = {f'{title}':results}
with open(output_file, 'a', encoding='utf-8') as f:
f.write(json.dumps(outInfo, ensure_ascii=False, indent=4))
f.write(',\n')
# 主异步函数
async def excute(prjflag:str,filePath:str,outFilePath:str):