diff --git a/lib/dogfood/check.py b/lib/dogfood/check.py index 2a04284a28..4e67006430 100644 --- a/lib/dogfood/check.py +++ b/lib/dogfood/check.py @@ -21,7 +21,7 @@ def check_problem_code(ans,the_lcp,correct_answers,false_answers): returns dict {'ok':is_ok,'msg': message with iframe} """ pfn = "dog%s" % randomid - pfn += the_lcp.problem_id.replace('filename','') # add problem ID to dogfood problem name + pfn += the_lcp.problem_id.replace('filename','') # add problem ID to dogfood problem name update_problem(pfn,ans,filestore=the_lcp.system.filestore) msg = '
Error: %s
" % str(err).replace('<','<') - msg += "%s" % traceback.format_exc().replace('<','<') + msg += "
%s" % traceback.format_exc().replace('<','<') ret = {'ok':is_ok, 'msg': msg, } return ret - \ No newline at end of file +