Bastien Guerry 11 yıl önce
ebeveyn
işleme
91940f514e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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.