Skip to content

Commit 674af04

Browse files
committed
Fix wrong wait condition
* jupyter-env.el (jupyter-session-with-random-ports): Do it.
1 parent 018246d commit 674af04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter-env.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ The session can be used to write a connection file, see
179179
(jupyter-with-timeout
180180
(nil jupyter-default-timeout
181181
(delete-file conn-file))
182-
(file-exists-p conn-file))
182+
(not (file-exists-p conn-file)))
183183
(delete-process process)
184184
(let ((new-key (jupyter-new-uuid)))
185185
(plist-put conn-info :key new-key)

0 commit comments

Comments
 (0)