diff --git a/src/tablib/core.py b/src/tablib/core.py index ad5ec8d6..b89953b6 100644 --- a/src/tablib/core.py +++ b/src/tablib/core.py @@ -939,13 +939,13 @@ def detect_format(stream): def import_set(stream, format=None, **kwargs): """Return dataset of given stream (file-like object, string, or bytestring).""" - return Dataset().load(normalize_input(stream), format, **kwargs) + return Dataset().load(stream, format, **kwargs) def import_book(stream, format=None, **kwargs): """Return dataset of given stream (file-like object, string, or bytestring).""" - return Databook().load(normalize_input(stream), format, **kwargs) + return Databook().load(stream, format, **kwargs) registry.register_builtins()