Don't pass args to finalize

This commit is contained in:
Sky O 2024-03-29 16:13:13 +00:00
parent 0cde7e3d08
commit dd381ba452

View File

@ -61,7 +61,8 @@ def get_body_from_form_data(
print("YO END")
return
parser = multipart.MultipartParser(boundary=boundary,
parser = multipart.MultipartParser(
boundary=boundary,
callbacks={
"on_part_begin": on_part_begin,
"on_part_data": on_part_data,
@ -74,7 +75,7 @@ def get_body_from_form_data(
}
)
parser.write(body)
parser.finalize(body)
parser.finalize()
print("YO PARTS", parts)
data = None