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