Skip to content

Commit 3bd60ca

Browse files
committed
Fix dev pid being first .bolt usage
1 parent 82413eb commit 3bd60ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bolt-dev/bolt/dev/pid.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def __init__(self):
99

1010
def write(self):
1111
pid = os.getpid()
12+
self.pidfile.parent.mkdir(parents=True, exist_ok=True)
1213
with self.pidfile.open("w+") as f:
1314
f.write(str(pid))
1415

0 commit comments

Comments
 (0)