test
This commit is contained in:
parent
f73789edde
commit
3f5f5ecd4d
2
main.py
2
main.py
@ -602,7 +602,7 @@ def handle_sighup(signum, frame):
|
|||||||
os.execv(sys.executable, [sys.executable] + sys.argv)
|
os.execv(sys.executable, [sys.executable] + sys.argv)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Write PID to .pid file for git hook usage
|
# Write PID to .pid file for git hook use
|
||||||
try:
|
try:
|
||||||
with open(".pid", "w") as f:
|
with open(".pid", "w") as f:
|
||||||
f.write(str(os.getpid()))
|
f.write(str(os.getpid()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user