Browse Source

Fix dac6d8

Bastien Guerry 7 years ago
parent
commit
91940f514e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-python.el

+ 1 - 1
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.