Merge pull request #2520 from mitya57/stable

imgmath: Add missing parentheses for string formatting
This commit is contained in:
Takeshi KOMIYA 2016-05-06 00:34:35 +09:00
commit 287e46d30c

View File

@ -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