We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004012b commit 16ca323Copy full SHA for 16ca323
sphinx/ext/imgconverter.py
@@ -31,12 +31,12 @@ def is_available(self) -> bool:
31
return True
32
except OSError as exc:
33
logger.warning(__(
34
- f"Unable to run the image conversion command {self.config.image_converter!r}. "
+ "Unable to run the image conversion command %r. "
35
"'sphinx.ext.imgconverter' requires ImageMagick by default. "
36
"Ensure it is installed, or set the 'image_converter' option "
37
"to a custom conversion command.\n\n"
38
- f'Traceback: {exc}'
39
- ))
+ "Traceback: %s"
+ ), self.config.image_converter, exc)
40
return False
41
except CalledProcessError as exc:
42
logger.warning(__('convert exited with error:\n'
0 commit comments