Skip to content

Commit 1de1467

Browse files
committed
Ensure tmpdir is a path type
1 parent 64fbc10 commit 1de1467

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.0.3 (2021/10/30)
2+
3+
- Ensure `tmpdir` is a `pathlib.Path`.

multiuserfilelock/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# We therefore use the public directory, and create a tempdir in there
2626
tmpdir = Path(os.environ.get('public', r'C:\Users\Public')) / 'tmp'
2727
else:
28-
tmpdir = tempfile.gettempdir()
28+
tmpdir = Path(tempfile.gettempdir())
2929

3030

3131
class MultiUserFileLock(FileLock):

0 commit comments

Comments
 (0)