diff options
-rw-r--r-- | cxmanage_api/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cxmanage_api/__init__.py b/cxmanage_api/__init__.py index 6d66381..4e7c0e4 100644 --- a/cxmanage_api/__init__.py +++ b/cxmanage_api/__init__.py @@ -50,8 +50,8 @@ def temp_file(): :rtype: string """ - fd, filename = tempfile.mkstemp(dir=WORK_DIR) - os.close(fd) + file_, filename = tempfile.mkstemp(dir=WORK_DIR) + os.close(file_) return filename def temp_dir(): |