pull/766/head
Josselin 4 years ago
parent d8aa31fd68
commit ea0ad70a2e
  1. 2
      slither/printers/inheritance/inheritance_graph.py

@ -189,7 +189,7 @@ class PrinterInheritanceGraph(AbstractPrinter):
Args: Args:
filename(string) filename(string)
""" """
if filename == "" or filename == ".": if filename in ("", "."):
filename = "inheritance-graph.dot" filename = "inheritance-graph.dot"
if not filename.endswith(".dot"): if not filename.endswith(".dot"):
filename += ".inheritance-graph.dot" filename += ".inheritance-graph.dot"

Loading…
Cancel
Save