Skip to content

Commit

Permalink
Fix graphviz file header (wireviz#261)
Browse files Browse the repository at this point in the history
The two header comments were missing trailing newlines.

This behavior is introduced by v0.18 of the graphviz Python package;
where as v0.17 did include the newline automatically.

Closes wireviz#258
  • Loading branch information
jlecoeur authored and kvid committed Aug 27, 2023
1 parent 92af905 commit 9dbf453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wireviz/Harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def connect(

def create_graph(self) -> Graph:
dot = Graph()
dot.body.append(f"// Graph generated by {APP_NAME} {__version__}")
dot.body.append(f"// {APP_URL}")
dot.body.append(f"// Graph generated by {APP_NAME} {__version__}\n")
dot.body.append(f"// {APP_URL}\n")
dot.attr(
"graph",
rankdir="LR",
Expand Down

0 comments on commit 9dbf453

Please sign in to comment.