diff options
author | Bastien Guerry <bzg@altern.org> | 2014-01-22 17:10:55 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-01-22 17:10:55 +0100 |
commit | 91940f514e436254336990f9bfc0d25da4528fd0 (patch) | |
tree | 660af3d0ccdce469cfc23b1c239f77ecddf1bf20 | |
parent | 77458b782ae8a96376817ea010adcf499d554e1c (diff) | |
download | org-mode-91940f514e436254336990f9bfc0d25da4528fd0.tar.gz |
Fix dac6d8
-rw-r--r-- | lisp/ob-python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 523fd70..baa5764 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -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") - (substring-no-properties var))))) + (if (stringp var) (substring-no-properties var) var))))) (defun org-babel-python-table-or-string (results) "Convert RESULTS into an appropriate elisp value. |