Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrián Ribao
Cartero
Commits
9e01e588
Commit
9e01e588
authored
Oct 19, 2016
by
Adrián Ribao
Browse files
replace mimetype with content_type
parent
d70b702a
Pipeline
#384
passed with stage
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cartero/views.py
View file @
9e01e588
...
@@ -181,6 +181,6 @@ class MailTrackView(View):
...
@@ -181,6 +181,6 @@ class MailTrackView(View):
)
)
openemail
.
save
()
openemail
.
save
()
img
=
Image
.
new
(
"RGBA"
,
(
4
,
4
))
img
=
Image
.
new
(
"RGBA"
,
(
4
,
4
))
response
=
HttpResponse
(
mime
type
=
"image/png"
)
response
=
HttpResponse
(
content_
type
=
"image/png"
)
img
.
save
(
response
,
"PNG"
)
img
.
save
(
response
,
"PNG"
)
return
response
return
response
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment