From b64696dbd0c6eaa3ec50a4d98954100d125c17d5 Mon Sep 17 00:00:00 2001 From: Arjun Singh Date: Sun, 2 Sep 2012 02:05:50 -0700 Subject: [PATCH] Allowing customresponse messages to be passed to the inputtype --- common/lib/capa/capa/responsetypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/lib/capa/capa/responsetypes.py b/common/lib/capa/capa/responsetypes.py index d1b58e53a9..ee75613ea1 100644 --- a/common/lib/capa/capa/responsetypes.py +++ b/common/lib/capa/capa/responsetypes.py @@ -916,6 +916,7 @@ def sympy_check2(): try: exec self.code in self.context['global_context'], self.context correct = self.context['correct'] + messages = self.context['messages'] except Exception as err: print "oops in customresponse (code) error %s" % err print "context = ", self.context