Skip to content

Commit

Permalink
Update python_multipart/multipart.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <[email protected]>
  • Loading branch information
jhnstrk and Kludex authored Dec 16, 2024
1 parent afbf23f commit b1c2d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_multipart/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ def on_field_end() -> None:
if f is None:
# If we get here, it's because there was no field data.
# We create a field, set it to None, and then continue.
f = FieldClass(b"".join(name_buffer), content_type=None)
f = FieldClass(b"".join(name_buffer))
del name_buffer[:]
f.set_none()

Expand Down

0 comments on commit b1c2d3b

Please sign in to comment.