summaryrefslogtreecommitdiff
path: root/yaksh/file_utils.py
diff options
context:
space:
mode:
authoradityacp2016-10-17 12:59:34 +0530
committeradityacp2016-10-17 12:59:34 +0530
commit908797ed67fba67bbc40eae7bb8b85381b3e5141 (patch)
tree6c9c9d0b1dbba901fca2745d7f58a3d85f3f1f81 /yaksh/file_utils.py
parent1bfd71cc024dc7ea72099deff52efbeac7db87b5 (diff)
downloadonline_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.tar.gz
online_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.tar.bz2
online_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.zip
changes in evaluator and file utils
Diffstat (limited to 'yaksh/file_utils.py')
-rw-r--r--yaksh/file_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/file_utils.py b/yaksh/file_utils.py
index ba3ead0..f41c531 100644
--- a/yaksh/file_utils.py
+++ b/yaksh/file_utils.py
@@ -2,7 +2,7 @@ import shutil
import os
import zipfile
import tempfile
-from online_test.settings import OUTPUT_DIR
+
def copy_files(file_paths):
""" Copy Files to current directory, takes
@@ -15,7 +15,7 @@ def copy_files(file_paths):
files.append(file_name)
shutil.copy(file_path, os.getcwd())
if extract:
- z_files, path = extract_files(file_name, OUTPUT_DIR)
+ z_files, path = extract_files(file_name, os.getcwd())
for file in z_files:
files.append(file)
return files