mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-17 05:28:03 +00:00
PEP8
This commit is contained in:
@@ -31,4 +31,5 @@ class AvatarImageView(TemplateView):
|
|||||||
raise Exception('No photo assigned to "%s"' % email.email)
|
raise Exception('No photo assigned to "%s"' % email.email)
|
||||||
|
|
||||||
return HttpResponse(
|
return HttpResponse(
|
||||||
io.BytesIO(email.photo.data), content_type='image/%s' % email.photo.format)
|
io.BytesIO(email.photo.data),
|
||||||
|
content_type='image/%s' % email.photo.format)
|
||||||
|
|||||||
Reference in New Issue
Block a user