Browse Source

fixup! implement basic lockfile functions

keep-around/e977c9e07f177e8bc2b51265de1bc93475397f61
parazyd 5 years ago
parent
commit
aedd903f12
Signed by untrusted user: parazyd GPG Key ID: F0CB28FCF78637DE
  1. 2
      lib/lock.py

2
lib/lock.py

@ -20,7 +20,7 @@ def check_lock():
sys.exit(1)
with open('/tmp/amprolla.lock', 'w') as lock:
lock.write(int(time()))
lock.write(str(int(time())))
def free_lock():

Loading…
Cancel
Save