From 70b5e91fa3d5d2b148c380444fb84a00f0bba5b5 Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 15 Jul 2020 12:27:13 -0400 Subject: [PATCH] and should probably remove the index reference... --- backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.py b/backup.py index a4118a4..7c6b934 100755 --- a/backup.py +++ b/backup.py @@ -260,7 +260,7 @@ class Backup(object): exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.', suffix = '._tmpexc', text = True, - dir = tmpdir)[1] + dir = tmpdir) # D'oh. I need to close the FD before messing with it. os.close(exec_fd) os.chmod(exec_tmp, mode = 0o0700)