diff options
Diffstat (limited to 'ice_validator/tests/utils/nested_iterables.py')
-rw-r--r-- | ice_validator/tests/utils/nested_iterables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice_validator/tests/utils/nested_iterables.py b/ice_validator/tests/utils/nested_iterables.py index a868e5a..51b19de 100644 --- a/ice_validator/tests/utils/nested_iterables.py +++ b/ice_validator/tests/utils/nested_iterables.py @@ -51,7 +51,7 @@ class ParameterCollector: def __call__(self, _, value): if isinstance(value, str): self.params.add(value) - elif isinstance(value, list) and len(value) >= 1: + elif isinstance(value, list) and len(value) >= 1 and isinstance(value[0], str): self.params.add(value[0]) |