summaryrefslogtreecommitdiff
path: root/ybd.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-12 18:03:34 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-12 18:03:34 +0000
commite925efa9bfffe0e61a7dce35fa9a0b9329ba65aa (patch)
tree42bf02465d08989c3e5d0577d5ca4b3c7e971941 /ybd.py
parent3e79a196f5313b71a270ca351ae2ffcb5f3edc1e (diff)
downloadybd-e925efa9bfffe0e61a7dce35fa9a0b9329ba65aa.tar.gz
Oops - lockfile is now in tmp
Diffstat (limited to 'ybd.py')
-rwxr-xr-xybd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd.py b/ybd.py
index 2505d88..14f53a0 100755
--- a/ybd.py
+++ b/ybd.py
@@ -34,7 +34,7 @@ app.setup(sys.argv)
app.cleanup(app.config['tmp'])
with app.timer('TOTAL'):
- lockfile = open(os.path.join(app.config['base'], 'lock'), 'r')
+ lockfile = open(os.path.join(app.config['tmp'], 'lock'), 'r')
fcntl.flock(lockfile, fcntl.LOCK_SH | fcntl.LOCK_NB)
target = os.path.join(app.config['defdir'], app.config['target'])