X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e5d704f09ed528815a097b6066acf4ebaea0f08..c1011e4ec70aa69d9d5ca46509261ff7b597e95f:/src/catalogue/views.py?ds=inline

diff --git a/src/catalogue/views.py b/src/catalogue/views.py
index aeed403ab..bca75e78f 100644
--- a/src/catalogue/views.py
+++ b/src/catalogue/views.py
@@ -351,7 +351,7 @@ def import_book(request):
                 _("An error occurred: %(exception)s\n\n%(tb)s") % {
                     'exception': exception, 'tb': tb
                 },
-                mimetype='text/plain'
+                content_type='text/plain'
             )
         return HttpResponse(_("Book imported successfully"))
     return HttpResponse(_("Error importing file: %r") % book_import_form.errors)