From a901757dd741dc82fcce39c7bf2ac3338390cec7 Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Wed, 7 Nov 2012 13:53:45 -0500 Subject: [PATCH] Fix minor bug with removed grader type tag --- common/lib/capa/capa/responsetypes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/lib/capa/capa/responsetypes.py b/common/lib/capa/capa/responsetypes.py index bdeea036f6..7101dccfd9 100644 --- a/common/lib/capa/capa/responsetypes.py +++ b/common/lib/capa/capa/responsetypes.py @@ -1852,7 +1852,7 @@ class OpenEndedResponse(LoncapaResponse): self.initial_display self.payload - dict containing keys -- 'grader' : path to grader settings file, 'problem_id' : id of the problem - + self.answer - What to display when show answer is clicked ''' # Note that OpenEndedResponse is agnostic to the specific contents of grader_payload @@ -1912,7 +1912,6 @@ class OpenEndedResponse(LoncapaResponse): # Submit request. When successful, 'msg' is the prior length of the queue contents.update({'student_response': submission}) - contents.update({'grader_type' : self.grader_type}) (error, msg) = qinterface.send_to_queue(header=xheader, body=json.dumps(contents))