summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2016-10-25 16:49:47 +0530
committeradityacp2016-10-25 16:49:47 +0530
commita08fab86403b7aa2f813e5bafab08f7777ac3537 (patch)
treef4326fe26c0198a0b5a331fe9ec74e6a036ef329
parent450954e5140b5c9a447127508e324841d311386a (diff)
downloadonline_test-a08fab86403b7aa2f813e5bafab08f7777ac3537.tar.gz
online_test-a08fab86403b7aa2f813e5bafab08f7777ac3537.tar.bz2
online_test-a08fab86403b7aa2f813e5bafab08f7777ac3537.zip
changed mkdir to makedirs
-rw-r--r--yaksh/code_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py
index e2097b0..79f616d 100644
--- a/yaksh/code_evaluator.py
+++ b/yaksh/code_evaluator.py
@@ -96,7 +96,7 @@ class CodeEvaluator(object):
def setup(self):
if self.in_dir:
if not os.path.exists(self.in_dir):
- os.mkdir(self.in_dir)
+ os.makedirs(self.in_dir)
self._change_dir(self.in_dir)
def safe_evaluate(self, user_answer, test_case_data, file_paths=None):