Commit dcd7d76
committed
[FIX] account_ux: handle list domain in open_invalid_statements_action
The domain returned by super() may already be a Python list instead of
a string representation. Calling safe_eval() on a list raises a TypeError.
Added an isinstance check to only evaluate the domain if it is a string,
keeping the existing behavior for string domains while supporting list domains.
closes #969
Signed-off-by: Camila Vives <cav@adhoc.inc>1 parent 00be8e9 commit dcd7d76
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
0 commit comments