|
@@ -244,9 +244,10 @@ def solveexamRecord(examRecorddetail):
|
|
fp.write(record.prettify())
|
|
fp.write(record.prettify())
|
|
if not os.path.exists(config.outputpath+os.sep+str(config.examId)):
|
|
if not os.path.exists(config.outputpath+os.sep+str(config.examId)):
|
|
os.makedirs(config.outputpath+os.sep+str(config.examId))
|
|
os.makedirs(config.outputpath+os.sep+str(config.examId))
|
|
- filepath=config.outputpath+os.sep+str(config.examId)+os.sep+identityNumber+'_'+studentName+".pdf"
|
|
|
|
|
|
+ filepath=config.outputpath+os.sep+str(config.examId)+os.sep+courseCode+'_'+identityNumber+'_'+studentName+".pdf"
|
|
common.convert_to_pdf(common.resource_path(os.path.join("template","temp.html")),filepath)
|
|
common.convert_to_pdf(common.resource_path(os.path.join("template","temp.html")),filepath)
|
|
print("Finish examRecordDataId " + str(examrRecordDataId))
|
|
print("Finish examRecordDataId " + str(examrRecordDataId))
|
|
|
|
+ print('')
|
|
|
|
|
|
|
|
|
|
def selectorder(answer,optionpremutation):
|
|
def selectorder(answer,optionpremutation):
|