From 8e52dc23149936566950807dbd1239e7eca32f40 Mon Sep 17 00:00:00 2001 From: Kevin Pavon Date: Tue, 21 Feb 2023 16:54:35 -0500 Subject: [PATCH] Change isinstance check to str. related #13446 Signed-off-by: Kevin Pavon --- awx_collection/plugins/lookup/schedule_rruleset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/lookup/schedule_rruleset.py b/awx_collection/plugins/lookup/schedule_rruleset.py index 6aefde48d057..fb8dfe7549f4 100644 --- a/awx_collection/plugins/lookup/schedule_rruleset.py +++ b/awx_collection/plugins/lookup/schedule_rruleset.py @@ -210,7 +210,7 @@ def process_integer(self, field_name, rule, min_value, max_value, rule_number): def process_list(self, field_name, rule, valid_list, rule_number): return_values = [] - if isinstance(rule[field_name], list): + if isinstance(rule[field_name], str): rule[field_name] = rule[field_name].split(',') for value in rule[field_name]: value = value.strip()