From 62723872bce3527e2a0d5a04bf255fcf076f1950 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Mon, 2 May 2016 15:45:16 +0300 Subject: [PATCH] imgmath: Add missing parentheses for string formatting --- sphinx/ext/imgmath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py index 307145adb..755e417fe 100644 --- a/sphinx/ext/imgmath.py +++ b/sphinx/ext/imgmath.py @@ -178,8 +178,8 @@ def render_math(self, math): raise self.builder.warn('%s command %r cannot be run (needed for math ' 'display), check the imgmath_%s setting' % - image_translator, image_translator_executable, - image_translator) + (image_translator, image_translator_executable, + image_translator)) self.builder._imgmath_warned_image_translator = True return None, None