summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-01-08 17:29:31 +0100
committerBastien Guerry <bzg@altern.org>2014-01-08 17:29:31 +0100
commite88d9d7caf75994c00c1f7c95180aac672696eb2 (patch)
tree2efaa8a03f050ffb55184033b39f9944d66da2b9
parente5b84d14cda48bb740b1df1f5eaaabe92dbbf121 (diff)
downloadorg-mode-e88d9d7caf75994c00c1f7c95180aac672696eb2.tar.gz
ob-python.el (org-babel-python-var-to-python): Fix code typo
* ob-python.el (org-babel-python-var-to-python): Fix code typo. Thanks to Daniel Gerber for reporting this.
-rw-r--r--lisp/ob-python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el
index 1457682..694e5fc 100644
--- a/lisp/ob-python.el
+++ b/lisp/ob-python.el
@@ -136,7 +136,7 @@ specifying a variable of the same value."
(if (equal var 'hline)
org-babel-python-hline-to
(format
- (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%S\"\"" "%S")
+ (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%s\"\"" "%s")
var))))
(defun org-babel-python-table-or-string (results)