diff options
-rw-r--r-- | Lib/tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 6e87af1..2c9ec9b 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -32,7 +32,7 @@ def gettempdir(): import macfs, MACFS try: refnum, dirid = macfs.FindFolder(MACFS.kOnSystemDisk, - MACFS.kTemporaryFolderType, 0) + MACFS.kTemporaryFolderType, 1) dirname = macfs.FSSpec((refnum, dirid, '')).as_pathname() attempdirs.insert(0, dirname) except macfs.error: |