Skip to content

Commit ed9821c

Browse files
committed
Add missing action check in datalog policy
1 parent 0ed1349 commit ed9821c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

genfond/execute_datalog_policy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ def execute_datalog_policy(
204204
)
205205
action = None
206206
break
207+
if not action:
208+
continue
207209
for cond, pval in rule.param_aug_conds.items():
208210
param_index, val = pval
209211
param = action.parameters[param_index]

0 commit comments

Comments
 (0)