Skip to content

Commit 287e46d

Browse files
committed
Merge pull request #2520 from mitya57/stable
imgmath: Add missing parentheses for string formatting
2 parents 26fecaf + 6272387 commit 287e46d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx/ext/imgmath.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def render_math(self, math):
178178
raise
179179
self.builder.warn('%s command %r cannot be run (needed for math '
180180
'display), check the imgmath_%s setting' %
181-
image_translator, image_translator_executable,
182-
image_translator)
181+
(image_translator, image_translator_executable,
182+
image_translator))
183183
self.builder._imgmath_warned_image_translator = True
184184
return None, None
185185

0 commit comments

Comments
 (0)