在答题纸处理中初步引入exclude机制
This commit is contained in:
parent
87f1dc7bdc
commit
f9d27f77a5
|
|
@ -1822,9 +1822,13 @@ def FindPaper(xiaoxianpid, answersheetpath): #根据小闲的试卷编号和答
|
|||
marks = anssheetjson[xiaoxianpid]["marks"]
|
||||
else:
|
||||
marks = []
|
||||
if "exclude" in anssheetjson[xiaoxianpid]:
|
||||
excludejson = anssheetjson[xiaoxianpid]["exclude"]
|
||||
else:
|
||||
excludejson = {}
|
||||
break
|
||||
if foundpid:
|
||||
return(pid,grade,idlist,marks)
|
||||
return(pid,grade,idlist,marks,excludejson)
|
||||
else:
|
||||
return False
|
||||
|
||||
|
|
|
|||
Reference in New Issue