We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64fbc10 commit 1de1467Copy full SHA for 1de1467
2 files changed
CHANGELOG.md
@@ -0,0 +1,3 @@
1
+## 0.0.3 (2021/10/30)
2
+
3
+- Ensure `tmpdir` is a `pathlib.Path`.
multiuserfilelock/__init__.py
@@ -25,7 +25,7 @@
25
# We therefore use the public directory, and create a tempdir in there
26
tmpdir = Path(os.environ.get('public', r'C:\Users\Public')) / 'tmp'
27
else:
28
- tmpdir = tempfile.gettempdir()
+ tmpdir = Path(tempfile.gettempdir())
29
30
31
class MultiUserFileLock(FileLock):
0 commit comments