Allowing customresponse messages to be passed to the inputtype

This commit is contained in:
Arjun Singh
2012-09-02 02:05:50 -07:00
parent 3f07e5fdb1
commit b64696dbd0

View File

@@ -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