修改教师讲义制作中的一处错误
This commit is contained in:
parent
d44cfe1d69
commit
760fa0756b
|
|
@ -774,7 +774,7 @@ def TeachersGetAfterContentPlain(id,prodict,objdict,topandbottomusagestuple = (3
|
||||||
def GenerateObjTexCode(id,prodict,objdict): #生成目标代号对应的学习目标字符串(含蓝色编码)
|
def GenerateObjTexCode(id,prodict,objdict): #生成目标代号对应的学习目标字符串(含蓝色编码)
|
||||||
# string = ""
|
# string = ""
|
||||||
# if prodict[id]["objs"] != []:
|
# if prodict[id]["objs"] != []:
|
||||||
string = "\n\\begin{tcolorbox}[colback = blue!10!white, colframe = blue!10!white, breakable]\n目标:"
|
string = "\n\\begin{tcolorbox}[colback = blue!10!white, colframe = blue!10!white, breakable]"
|
||||||
for objid in prodict[id]["objs"]:
|
for objid in prodict[id]["objs"]:
|
||||||
if objid.upper() == "KNONE":
|
if objid.upper() == "KNONE":
|
||||||
string += "\n\n%s\t%s"%(objid,"无当前有效关联目标")
|
string += "\n\n%s\t%s"%(objid,"无当前有效关联目标")
|
||||||
|
|
|
||||||
Reference in New Issue