summaryrefslogtreecommitdiff
path: root/jimbrella/lockfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/lockfile.py')
-rw-r--r--jimbrella/lockfile.py4
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."""