summaryrefslogtreecommitdiff
path: root/yaksh/bash_code_evaluator.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-10-21 23:12:41 +0530
committerGitHub2016-10-21 23:12:41 +0530
commit08d8478a6a57991b0130c5610db6efa7bc9e5a66 (patch)
treec94df7d571b2294a10833fe719ea51411db7e077 /yaksh/bash_code_evaluator.py
parentadae38cb47d8c36280f2e6cd40ccade3ce1108c5 (diff)
parent8e06cee7b1fea13d121d2d0677b0a8e3ea7f2e38 (diff)
downloadonline_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.tar.gz
online_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.tar.bz2
online_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.zip
Merge pull request #148 from adityacp/fix_extract_files
Fix Questions zip extract files
Diffstat (limited to 'yaksh/bash_code_evaluator.py')
-rw-r--r--yaksh/bash_code_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/bash_code_evaluator.py b/yaksh/bash_code_evaluator.py
index e148fa8..e4b961c 100644
--- a/yaksh/bash_code_evaluator.py
+++ b/yaksh/bash_code_evaluator.py
@@ -22,10 +22,10 @@ class BashCodeEvaluator(CodeEvaluator):
def teardown(self):
# Delete the created file.
- super(BashCodeEvaluator, self).teardown()
os.remove(self.submit_code_path)
if self.files:
delete_files(self.files)
+ super(BashCodeEvaluator, self).teardown()
def check_code(self, user_answer, file_paths, test_case):
""" Function validates student script using instructor script as