mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
Fix condition of graphviz warning
This commit is contained in:
1 parent
0cbb29e342
commit
5b92c708f8
1 file changed
+1
-1
@@ -160,7 +160,7 @@ def render_dot(self, code, options, format, prefix='graphviz'):
|
||||
return relfn, outfn
|
||||
|
||||
if (hasattr(self.builder, '_graphviz_warned_dot') and
|
||||
self.builder._graphviz_warned_dot[graphviz_dot]):
|
||||
self.builder._graphviz_warned_dot.get(graphviz_dot)):
|
||||
return None, None
|
||||
|
||||
ensuredir(path.dirname(outfn))
|
||||
|
||||
Reference in new issue
Block a user