We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f882f0 commit b47e8aeCopy full SHA for b47e8ae
.github/scripts/visualizeStates.py
@@ -82,8 +82,8 @@ def checkConnectedToIdle(state_map):
82
notToIdle = []
83
for state_name, state in state_map.items():
84
if state_name in EXCLUDED_STATES: continue
85
- for connections in state["connectionsTo"]:
86
- if connections.to == "IDLE": continue
+ for connections in state.get("connectionsTo", []):
+ if connections["to"] == "IDLE": continue
87
else: notToIdle.append(state_name)
88
return notToIdle
89
0 commit comments