summaryrefslogtreecommitdiff
path: root/yaksh/bash_stdio_evaluator.py
diff options
context:
space:
mode:
authorprathamesh2016-11-01 09:30:53 +0530
committerprathamesh2016-11-01 09:30:53 +0530
commit6f9d5d2779e64212988c0d164fa05ce2d05e696a (patch)
treee7a1c316b97df44ec701384feea421ca66e3aa9c /yaksh/bash_stdio_evaluator.py
parent3b66e5fb8af12ce756f34966bb684373062551dd (diff)
parentf563640af941a50642dc5eb6e63b1d63a1685046 (diff)
downloadonline_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.tar.gz
online_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.tar.bz2
online_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.zip
Merge branch 'master' of https://github.com/FOSSEE/online_test into UI-modifications
Resolved Conflicts: yaksh/templates/manage.html yaksh/templates/yaksh/design_questionpaper.html
Diffstat (limited to 'yaksh/bash_stdio_evaluator.py')
-rw-r--r--yaksh/bash_stdio_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/bash_stdio_evaluator.py b/yaksh/bash_stdio_evaluator.py
index e5e0da6..a7ea1a4 100644
--- a/yaksh/bash_stdio_evaluator.py
+++ b/yaksh/bash_stdio_evaluator.py
@@ -17,10 +17,10 @@ class BashStdioEvaluator(StdIOEvaluator):
self.submit_code_path = self.create_submit_code_file('Test.sh')
def teardown(self):
- super(BashStdioEvaluator, self).teardown()
os.remove(self.submit_code_path)
if self.files:
delete_files(self.files)
+ super(BashStdioEvaluator, self).teardown()
def compile_code(self, user_answer, file_paths, expected_input, expected_output):
self.files = []