From 37f4c53f3a470626b8c995950b83dfc5195c024b Mon Sep 17 00:00:00 2001 From: John Stark Date: Mon, 16 Dec 2024 19:13:46 +0000 Subject: [PATCH] Update python_multipart/multipart.py Co-authored-by: Marcelo Trylesinski --- python_multipart/multipart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_multipart/multipart.py b/python_multipart/multipart.py index 99a8204..bc538a3 100644 --- a/python_multipart/multipart.py +++ b/python_multipart/multipart.py @@ -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