Skip to content

Commit

Permalink
Small fix for integer values.
Browse files Browse the repository at this point in the history
Signed-off-by: DerekRushton <[email protected]>
  • Loading branch information
DerekRushton committed Sep 19, 2024
1 parent 80f3b37 commit adb22c6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def _parse_mapped_fields(self, value, comparator, mapped_fields_array) -> str:
comparison_strings = []

if isinstance(value, str):
value = [value]
value = [value]
if isinstance(value,int):
value = [value]
for val in value:
for mapped_field in mapped_fields_array:
comparison_strings.append(f"{mapped_field}{comparator} '{val}'")
Expand Down

0 comments on commit adb22c6

Please sign in to comment.