diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-05-06 00:34:35 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-05-06 00:34:35 +0900 |
commit | 287e46d30c61b7587a6ba0c3d524e5d56105a898 (patch) | |
tree | dd995537cb5ffa72c684389adfb0080aaad42773 | |
parent | 26fecafb4920a8d9dacaa9e3614bf182ce12696a (diff) | |
parent | 62723872bce3527e2a0d5a04bf255fcf076f1950 (diff) | |
download | sphinx-git-287e46d30c61b7587a6ba0c3d524e5d56105a898.tar.gz |
Merge pull request #2520 from mitya57/stable
imgmath: Add missing parentheses for string formatting
-rw-r--r-- | sphinx/ext/imgmath.py | 4 |
1 files 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 |