Commit 9e01e588 authored by Adrián Ribao's avatar Adrián Ribao
Browse files

replace mimetype with content_type

parent d70b702a
Pipeline #384 passed with stage
in 46 seconds
......@@ -181,6 +181,6 @@ class MailTrackView(View):
)
openemail.save()
img = Image.new("RGBA", (4, 4))
response = HttpResponse(mimetype="image/png")
response = HttpResponse(content_type="image/png")
img.save(response, "PNG")
return response
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment