From 1c97aadd2f673d61d7ada480eab18194b9c95453 Mon Sep 17 00:00:00 2001 From: Sky O Date: Fri, 29 Mar 2024 17:57:22 +0000 Subject: [PATCH] Whoops --- moto/moto_proxy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/moto_proxy/utils.py b/moto/moto_proxy/utils.py index 1667a919e..6f7ef2d41 100644 --- a/moto/moto_proxy/utils.py +++ b/moto/moto_proxy/utils.py @@ -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"