From 6f4148c8626a51555004a9b4e3a928bdb9e679c2 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 7 Feb 2018 16:11:29 +0100 Subject: [PATCH] fix return value --- dotdrop/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):