We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31cf1b4 commit 40a8b04Copy full SHA for 40a8b04
pylink/jlock.py
@@ -65,7 +65,7 @@ def __init__(self, serial_no):
65
self.acquired = False
66
self.fd = None
67
self.path = None
68
- self.path = os.path.join(tempfile.tempdir, self.name)
+ self.path = os.path.join(tempfile.gettempdir(), self.name)
69
70
def __del__(self):
71
"""Cleans up the lockfile instance if it was acquired.
0 commit comments