summaryrefslogtreecommitdiff
path: root/yaksh/file_utils.py
diff options
context:
space:
mode:
authormaheshgudi2018-07-11 18:48:31 +0530
committermaheshgudi2018-07-11 18:48:31 +0530
commit00f01038b2a4653d87ca2529009fa873f6a4a26d (patch)
tree6a27d000094906dd25c09c83c8dbd60c31cb9978 /yaksh/file_utils.py
parent727bcd630f30445e767583ceb65fdbf3ff65c2a0 (diff)
downloadonline_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.tar.gz
online_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.tar.bz2
online_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.zip
Support for multiple yaml files
Diffstat (limited to 'yaksh/file_utils.py')
-rw-r--r--yaksh/file_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/file_utils.py b/yaksh/file_utils.py
index 6c3fd5d..7c31c70 100644
--- a/yaksh/file_utils.py
+++ b/yaksh/file_utils.py
@@ -46,7 +46,7 @@ def extract_files(zip_file, path=None):
if path:
extract_path = path
else:
- extract_path = tempfile.gettempdir()
+ extract_path = tempfile.mkdtemp()
zip_file.extractall(extract_path)
zip_file.close()
return zfiles, extract_path