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 f1e28d6 commit 37f4c53
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 @@ -1562,7 +1562,7 @@ def __init__(

def on_start() -> None:
nonlocal file
file = FileClass(file_name, None, content_type=None, config=cast("FileConfig", self.config))
file = FileClass(file_name, config=cast("FileConfig", self.config))

def on_data(data: bytes, start: int, end: int) -> None:
nonlocal file
Expand Down

0 comments on commit 37f4c53

Please sign in to comment.