Skip to content

Commit

Permalink
Ensure tmpdir is a path type
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Oct 30, 2021
1 parent 64fbc10 commit 1de1467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.0.3 (2021/10/30)

- Ensure `tmpdir` is a `pathlib.Path`.
2 changes: 1 addition & 1 deletion multiuserfilelock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# We therefore use the public directory, and create a tempdir in there
tmpdir = Path(os.environ.get('public', r'C:\Users\Public')) / 'tmp'
else:
tmpdir = tempfile.gettempdir()
tmpdir = Path(tempfile.gettempdir())


class MultiUserFileLock(FileLock):
Expand Down

0 comments on commit 1de1467

Please sign in to comment.