diff --git a/djangoapps/courseware/capa/responsetypes.py b/djangoapps/courseware/capa/responsetypes.py index 8e99f16c9c..114b347a5a 100644 --- a/djangoapps/courseware/capa/responsetypes.py +++ b/djangoapps/courseware/capa/responsetypes.py @@ -635,7 +635,7 @@ class ImageResponse(GenericResponse): # parse given answer m = re.match('\[([0-9]+),([0-9]+)]',given.strip().replace(' ','')) if not m: - raise Exception,'[capamodule.capa.responsetypes.imageinput] error grading %s (input=%s)' % (err,aid,given) + raise Exception,'[capamodule.capa.responsetypes.imageinput] error grading %s (input=%s)' % (aid,given) (gx,gy) = [int(x) for x in m.groups()] # answer is correct if (x,y) is within the specified rectangle diff --git a/templates/dogfood.html b/templates/dogfood.html index ddb84302f6..ce1157d3b6 100644 --- a/templates/dogfood.html +++ b/templates/dogfood.html @@ -102,6 +102,9 @@ +## image input: for clicking on images (see imageinput.html) + + <%block name="js_extra"/>