@@ -190,10 +190,10 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
self.new_history_entry(get['student_answer'])
self.change_state(self.ASSESSING)
else:
#Error message already defined
#Error message already defined
success=False
else:
#This is a student_facing_error
#This is a student_facing_error
error_message="There was a problem saving the image in your submission. Please try a different image, or try pasting a link to an image into the answer box."
return{
...
...
@@ -227,12 +227,12 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
foriinxrange(0,len(score_list)):
score_list[i]=int(score_list[i])
exceptValueError:
#This is a dev_facing_error
#This is a dev_facing_error
log.error("Non-integer score value passed to save_assessment ,or no score list present.")
#This is a student_facing_error
#This is a student_facing_error
return{'success':False,'error':"Error saving your score. Please notify course staff."}
#Record score as assessment and rubric scores as post assessment
#Record score as assessment and rubric scores as post assessment