Skip to content

Commit

Permalink
remove enum check as this has been resolved in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Mar 30, 2020
1 parent b44dc89 commit f95febe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions transitions/extensions/diagrams_pygraphviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ def _add_edges(self, transitions, container):
container.add_edge(src_name, dst_name, **edge_attr)

def set_node_style(self, state, style):
if isinstance(state, Enum):
state = state.name

try:
node = self.fsm_graph.get_node(state)
style_attr = self.fsm_graph.style_attributes.get('node', {}).get(style)
Expand Down

0 comments on commit f95febe

Please sign in to comment.