Fix available-kernelspecs failing from warning output

This commit is contained in:
Ahmed Shariff 2022-11-14 12:59:18 -08:00 committed by Nathaniel Nicandro
parent 4d62a88951
commit bc3b78be43

View file

@ -61,7 +61,7 @@ each DIRECTORY will be a remote file name."
(or (and (not refresh) (gethash host jupyter--kernelspecs))
(let ((specs (plist-get
(jupyter-read-plist-from-string
(or (jupyter-command "kernelspec" "list" "--json")
(or (jupyter-command "kernelspec" "list" "--json" "--log-level" "ERROR")
(error "Can't obtain kernelspecs from jupyter shell command")))
:kernelspecs)))
(puthash host