Update docs/check_running.py

Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
This commit is contained in:
meejah 2022-09-28 09:35:17 -06:00 committed by GitHub
parent 7aae2f7857
commit a7398e13f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,9 +38,9 @@ def can_spawn_tahoe(pidfile):
except psutil.NoSuchProcess:
pass
# the file is stale
pidfile.unlink()
return True
# the file is stale
pidfile.unlink()
return True
from pathlib import Path