mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typo.
This commit is contained in:
parent
43d08313a0
commit
1b725c3acf
@ -142,7 +142,7 @@ def render_dot(self, code, options, format, prefix='graphviz'):
|
||||
def render_dot_html(self, node, code, options, prefix='graphviz',
|
||||
imgcls=None, alt=None):
|
||||
try:
|
||||
fname, outfn = render_dot(self, code, options, 'pnf', prefix)
|
||||
fname, outfn = render_dot(self, code, options, 'png', prefix)
|
||||
except GraphvizError, exc:
|
||||
self.builder.warn('dot code %r: ' % code + str(exc))
|
||||
raise nodes.SkipNode
|
||||
|
Loading…
Reference in New Issue
Block a user