* ob-python.el (org-babel-python-var-to-python): Fix code typo. Thanks to Daniel Gerber for reporting this.
@@ -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)