Skip to content

Commit

Permalink
Change isinstance check to str. related #13446
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Pavon <[email protected]>
  • Loading branch information
KaraokeKev committed Feb 21, 2023
1 parent 3fe46e2 commit 8e52dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx_collection/plugins/lookup/schedule_rruleset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8e52dc2

Please sign in to comment.