diff --git a/src/tablib/core.py b/src/tablib/core.py index c46ddee4..31e6ba88 100644 --- a/src/tablib/core.py +++ b/src/tablib/core.py @@ -311,10 +311,7 @@ def _set_headers(self, collection): """Validating headers setter.""" self._validate(collection) if collection: - try: - self.__headers = list(collection) - except TypeError: - raise TypeError + self.__headers = list(collection) else: self.__headers = None