From 98133c0c3cf7e401cf5b85f7c4e9298bfcb4d00a Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 24 Nov 2021 19:48:40 +0800 Subject: New config entry "jimbrella_dir" Add explanation for jimbrella_dir --- jimbrella/lockfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jimbrella/lockfile.py') 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.""" -- cgit v1.2.3