From b6b04dc26a56e6179134679dff555d34c641693d Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@stfc.ac.uk> Date: Tue, 3 Jun 2014 09:07:05 +0100 Subject: [PATCH] Use ImageNotFound.png when no image available. Refs #9562 --- Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py b/Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py index d2dfb14d107..6bdd47891cf 100644 --- a/Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py +++ b/Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py @@ -119,7 +119,7 @@ class AlgorithmDirective(BaseDirective): imgpath = algorithm_screenshot(self.algorithm_name(), screenshots_dir, version=self.algorithm_version()) except Exception, exc: env.warn(env.docname, "Unable to generate screenshot for '%s' - %s" % (algorithm_name, str(exc))) - imgpath = os.path.join(screenshots_dir, "failed_dialog.png") + imgpath = os.path.join(screenshots_dir, "ImageNotFound.png") return imgpath -- GitLab