Skip to content

Commit

Permalink
Update graphviz2drawio/mx/Node.py
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
hbmartin and sourcery-ai[bot] authored Aug 15, 2024
1 parent a77db77 commit d43c2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphviz2drawio/mx/Node.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_node_style(self) -> str:
"stroke_width": self.stroke_width,
"dashed": dashed,
}
if type(self.fill) is str:
if isinstance(self.fill, str):
attributes["fill"] = self.fill
elif type(self.fill) is tuple:
attributes["fill"] = self.fill[0]
Expand Down

0 comments on commit d43c2bd

Please sign in to comment.