summaryrefslogtreecommitdiff
path: root/yaksh/file_utils.py
diff options
context:
space:
mode:
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 88fc46d..1dc6006 100644
--- a/yaksh/file_utils.py
+++ b/yaksh/file_utils.py
@@ -47,7 +47,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