ob-python.el (org-babel-python-var-to-python): Bugfix

* ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
properties before formatting the results.

Thanks to Daniel Gerber for reporting this and providing a fix,
and to others who contributed.
This commit is contained in:
Bastien Guerry 2014-01-13 00:25:25 +01:00
parent bf0649c6fc
commit dac6d880b7
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ specifying a variable of the same value."
org-babel-python-hline-to
(format
(if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%S\"\"" "%S")
var))))
(substring-no-properties var)))))
(defun org-babel-python-table-or-string (results)
"Convert RESULTS into an appropriate elisp value.