database_tools中的学生讲义主体生成中的三个参数设为默认值为True

This commit is contained in:
wangweiye7840 2023-07-10 15:55:37 +08:00
parent 60e042baa1
commit f50b015f83
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ def XeLaTeXCompile(filedir,filename): #在filedir目录中用XeLaTeX编译filena
flagsuc = False flagsuc = False
return flagsuc # 若第二次编译成功则返回True, 否则返回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 = "" bodystring = ""
if len(problems) == len(sectiontitles): if len(problems) == len(sectiontitles):
count = 0 count = 0