From f50b015f831fe97b40297f1c6b7c9387e43046af Mon Sep 17 00:00:00 2001 From: wangweiye7840 Date: Mon, 10 Jul 2023 15:55:37 +0800 Subject: [PATCH] =?UTF-8?q?database=5Ftools=E4=B8=AD=E7=9A=84=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E8=AE=B2=E4=B9=89=E4=B8=BB=E4=BD=93=E7=94=9F=E6=88=90?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E4=B8=89=E4=B8=AA=E5=8F=82=E6=95=B0=E8=AE=BE?= =?UTF-8?q?=E4=B8=BA=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BATrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index 6e406680..a942ae3d 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -716,7 +716,7 @@ def XeLaTeXCompile(filedir,filename): #在filedir目录中用XeLaTeX编译filena flagsuc = False return flagsuc # 若第二次编译成功则返回True, 否则返回False -def GenerateStudentBodyString(problems,sectiontitles,pro_dict,consecutivenumbering,answered,spaceflag): #生成学生版的.tex文件的主体内容 +def GenerateStudentBodyString(problems,sectiontitles,pro_dict,consecutivenumbering= True,answered= True,spaceflag=True): #生成学生版的.tex文件的主体内容 bodystring = "" if len(problems) == len(sectiontitles): count = 0