Skip to content

Commit 904b317

Browse files
committed
Merge pull request #2576 from jschueller/patch-1
Fix MathExtError arguments in imgmath
2 parents 03af1ca + 27f03ce commit 904b317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/ext/imgmath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def render_math(self, math):
185185

186186
stdout, stderr = p.communicate()
187187
if p.returncode != 0:
188-
raise MathExtError('%s exited with error',
188+
raise MathExtError('%s exited with error' %
189189
image_translator, stderr, stdout)
190190
depth = None
191191
if use_preview and image_format == 'png': # depth is only useful for png

0 commit comments

Comments
 (0)