summaryrefslogtreecommitdiff
path: root/yaksh/cpp_code_evaluator.py
diff options
context:
space:
mode:
authoradityacp2016-12-23 15:03:37 +0530
committeradityacp2016-12-23 15:03:37 +0530
commitd442941819dc7f8b65a2965fbcefe000fea1cde2 (patch)
tree624d8ba12cf83cf57f685bc8cee158be14aee783 /yaksh/cpp_code_evaluator.py
parent14b628f49a7d0aa58c22c021c62a5d0a748ae881 (diff)
parent48366e84b98157ac32b22b2aa19b1c1cde68afd4 (diff)
downloadonline_test-d442941819dc7f8b65a2965fbcefe000fea1cde2.tar.gz
online_test-d442941819dc7f8b65a2965fbcefe000fea1cde2.tar.bz2
online_test-d442941819dc7f8b65a2965fbcefe000fea1cde2.zip
Fix conflict
Diffstat (limited to 'yaksh/cpp_code_evaluator.py')
-rw-r--r--yaksh/cpp_code_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/cpp_code_evaluator.py b/yaksh/cpp_code_evaluator.py
index ca70a74..d4e2253 100644
--- a/yaksh/cpp_code_evaluator.py
+++ b/yaksh/cpp_code_evaluator.py
@@ -138,7 +138,7 @@ class CppCodeEvaluator(BaseEvaluator):
)
proc, stdout, stderr = ret
if proc.returncode == 0:
- success, err = True, "Correct answer"
+ success, err = True, None
mark_fraction = float(self.weight) if self.partial_grading else 0.0
else:
err = "{0} \n {1}".format(stdout, stderr)