Skip to content

Commit

Permalink
Merge pull request #25 from muxa/dev
Browse files Browse the repository at this point in the history
1.0.0-rc.11
  • Loading branch information
muxa authored Apr 21, 2022
2 parents 5d2e6d1 + be8264d commit 59180e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/state_machine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def validate_transition(value):
return validate_transition({CONF_FROM: a, CONF_TO: b})

def output_graph(config):
if config[CONF_DIAGRAM] == None or config[CONF_DIAGRAM] == False:
if not CONF_DIAGRAM in config:
return config

if config[CONF_DIAGRAM] == "mermaid":
Expand Down

0 comments on commit 59180e5

Please sign in to comment.