Whoops
This commit is contained in:
parent
7eae837e24
commit
1c97aadd2f
@ -88,7 +88,7 @@ def get_body_from_form_data(
|
||||
headers: Dict[str, str] = {}
|
||||
|
||||
for part in parts:
|
||||
if data is not None:
|
||||
if data is None:
|
||||
for header in part.headers:
|
||||
if b'name="upload_file"' in header.value:
|
||||
headers["key"] = "upload_file"
|
||||
|
Loading…
Reference in New Issue
Block a user