summaryrefslogtreecommitdiff
path: root/yaksh/code_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/code_evaluator.py')
-rw-r--r--yaksh/code_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py
index b404d57..1672efa 100644
--- a/yaksh/code_evaluator.py
+++ b/yaksh/code_evaluator.py
@@ -123,6 +123,7 @@ class CodeEvaluator(object):
)
if success:
marks += test_case_marks
+ error = err
else:
error += err + "\n"