Skip to content

Commit de89cbe

Browse files
moneylobsternnicandro
authored andcommitted
Quote filename when calling jupyter-load-file
Not quoting filenames causes the path to be misinterpreted if it contains spaces.
1 parent 02dc0e2 commit de89cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter-python.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ buffer."
7373
(t nil)))))
7474

7575
(cl-defmethod jupyter-load-file-code (file &context (jupyter-lang python))
76-
(concat "%run " file))
76+
(concat "%run \"" file "\""))
7777

7878
;;; `jupyter-org'
7979

0 commit comments

Comments
 (0)