Commit 532b8fbd by Arjun Singh

Allowing customresponse messages to be passed to the inputtype

parent 82300294
...@@ -916,6 +916,7 @@ def sympy_check2(): ...@@ -916,6 +916,7 @@ def sympy_check2():
try: try:
exec self.code in self.context['global_context'], self.context exec self.code in self.context['global_context'], self.context
correct = self.context['correct'] correct = self.context['correct']
messages = self.context['messages']
except Exception as err: except Exception as err:
print "oops in customresponse (code) error %s" % err print "oops in customresponse (code) error %s" % err
print "context = ", self.context print "context = ", self.context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment