sorry, style issue again

This commit is contained in:
Dirk Guijt 2018-02-03 03:14:04 +01:00
parent ddf2a604d1
commit 48d45f1ca4

View File

@ -312,7 +312,8 @@ def parse_multipart_form(body, boundary):
if field_name: if field_name:
post_data = form_part[line_index:-4] post_data = form_part[line_index:-4]
if file_name: if file_name:
form_file = File(type=content_type, name=file_name, body=post_data) form_file = \
File(type=content_type, name=file_name, body=post_data)
if field_name in files: if field_name in files:
files[field_name].append(form_file) files[field_name].append(form_file)
else: else: