summaryrefslogtreecommitdiff
path: root/testapp/code_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/code_server.py')
-rwxr-xr-xtestapp/code_server.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testapp/code_server.py b/testapp/code_server.py
index 8b3f8f1..88e374c 100755
--- a/testapp/code_server.py
+++ b/testapp/code_server.py
@@ -370,7 +370,6 @@ class CodeServer(object):
raise
return proc_compile, err
-
def _check_c_cpp_code(self, ref_code_path, submit_code_path):
""" Function validates student code using instructor code as
reference.The first argument ref_code_path, is the path to
@@ -608,7 +607,7 @@ class CodeServer(object):
student_directory,
student_directory)
ret = self._compile_command(compile_main)
- proc, main_err = ret
+ proc, main_err = ret
main_err = self._remove_null_substitute_char(main_err)
if main_err == '':