diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b5f288a..0a337874 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ # Changelog # - ## 2.1.0 Ursus Americanus (2016-05-03) ### Features diff --git a/taiga/export_import/api.py b/taiga/export_import/api.py index a8a1dddd..d8453ad5 100644 --- a/taiga/export_import/api.py +++ b/taiga/export_import/api.py @@ -318,6 +318,9 @@ class ProjectImporterViewSet(mixins.ImportThrottlingPolicyMixin, CreateModelMixi if not dump: raise exc.WrongArguments(_("Needed dump file")) + if dump.content_type == "application/gzip": + dump = gzip.GzipFile(fileobj=dump) + reader = codecs.getreader("utf-8") try: