From e88d9d7caf75994c00c1f7c95180aac672696eb2 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 8 Jan 2014 17:29:31 +0100 Subject: [PATCH] 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. --- lisp/ob-python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 145768272..694e5fc87 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)