Skip to content
Snippets Groups Projects
Commit b6b04dc2 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Use ImageNotFound.png when no image available.

Refs #9562
parent 3c3a13e6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment