oauth2: fix typo in error message (#22713)

This commit is contained in:
Frédéric Péters 2018-03-21 19:05:52 +01:00 committed by Benjamin Dauvergne
parent e98b74dccc
commit 666fe66494
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def get_content_disposition_value(request):
content_header = request.META['HTTP_CONTENT_DISPOSITION']
disposition_type, filename = cgi.parse_header(content_header)
if disposition_type != 'attachment':
return None, 'wrong disposition type: attachment excpected'
return None, 'wrong disposition type: attachment expected'
if 'filename*' in filename:
encode, country, name = filename['filename*'].split("'")