diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-11-24 19:48:40 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-11-24 20:14:23 +0800 |
commit | 98133c0c3cf7e401cf5b85f7c4e9298bfcb4d00a (patch) | |
tree | 5d8e718ef3684bd7a77db5c9528c993a3b80492a /jimbrella/lockfile.py | |
parent | fea01028d97dd8a11673912fd0c6f1453c34adad (diff) |
New config entry "jimbrella_dir"
Add explanation for jimbrella_dir
Diffstat (limited to 'jimbrella/lockfile.py')
-rw-r--r-- | jimbrella/lockfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jimbrella/lockfile.py b/jimbrella/lockfile.py index b898142..987f0e3 100644 --- a/jimbrella/lockfile.py +++ b/jimbrella/lockfile.py @@ -11,8 +11,8 @@ class Lockfile: """ def __init__(self, filepath): - self.filepath = filepath - self.lockpath = filepath + ".lock" + self.filepath = str(filepath) + self.lockpath = self.filepath + ".lock" def lock(self): """Continue attempting to lock until locked.""" |