|
@@ -133,6 +133,10 @@ def solveexamRecord(examRecorddetail):
|
|
|
courseName = examRecorddetail["courseName"]
|
|
|
studentCode = examRecorddetail["studentCode"]
|
|
|
|
|
|
+ if len(config.studentCodes) > 0 and config.studentCodes.find(studentCode) == -1:
|
|
|
+ print("跳过! " + courseCode + "_" + identityNumber + "_" + studentName + ".pdf")
|
|
|
+ return None
|
|
|
+
|
|
|
record = bs4.BeautifulSoup(
|
|
|
open(common.resource_path(os.path.join("template", "template.html")), "r", encoding="utf-8"),
|
|
|
features="html.parser")
|