Fix typo.

This commit is contained in:
Georg Brandl 2010-01-12 10:47:05 +00:00
parent 43d08313a0
commit 1b725c3acf

View File

@ -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