diff --git a/src/Mod/Fem/femsolver/elmer/sifio.py b/src/Mod/Fem/femsolver/elmer/sifio.py index b29f91d2308d..098039001021 100644 --- a/src/Mod/Fem/femsolver/elmer/sifio.py +++ b/src/Mod/Fem/femsolver/elmer/sifio.py @@ -339,7 +339,7 @@ def _getOnlyElement(self, collection): def _isCollection(self, data): return ( not isinstance(data, six.string_types) - and isinstance(data, collections.Iterable) + and isinstance(data, collections.abc.Iterable) ) def _checkScalar(self, dataType):