diff --git a/dotdrop/utils.py b/dotdrop/utils.py index 844a37c..c07eada 100644 --- a/dotdrop/utils.py +++ b/dotdrop/utils.py @@ -39,7 +39,8 @@ def get_tmpdir(): def get_tmpfile(): - return tempfile.mkstemp(prefix='dotdrop-') + (fd, path) = tempfile.mkstemp(prefix='dotdrop-') + return path def remove(path):