fixed a bug pointed out by Gary Oberbrunner

* lisp/ob-python.el (org-babel-python-initiate-session-by-key): Fixed a
  bug pointed out by Gary Oberbrunner.
This commit is contained in:
Eric Schulte 2013-03-29 15:12:51 -06:00
parent 7736c2d7fb
commit d136eb20c7

View file

@ -208,7 +208,7 @@ then create. Return the initialized session."
(concat "Python-" (symbol-name session))))
(py-which-bufname bufname))
(py-shell)
(setq python-buffer (org-babel-python-earmufs bufname))))
(setq python-buffer (org-babel-python-with-earmufs bufname))))
(t
(error "No function available for running an inferior Python")))
(setq org-babel-python-buffers