Skip to content

Commit b47e8ae

Browse files
committed
ci check fix
1 parent 4f882f0 commit b47e8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/visualizeStates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def checkConnectedToIdle(state_map):
8282
notToIdle = []
8383
for state_name, state in state_map.items():
8484
if state_name in EXCLUDED_STATES: continue
85-
for connections in state["connectionsTo"]:
86-
if connections.to == "IDLE": continue
85+
for connections in state.get("connectionsTo", []):
86+
if connections["to"] == "IDLE": continue
8787
else: notToIdle.append(state_name)
8888
return notToIdle
8989

0 commit comments

Comments
 (0)