Skip to content

Commit c7d11be

Browse files
committed
redo merge patch
1 parent 7a66c38 commit c7d11be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openapi_python_client/parser/openapi.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ def parse_request_binary_body(
234234
"""Return binary_body"""
235235
binary_body = None
236236
for content_type, schema in body.content.items():
237-
content_type = get_content_type(content_type) # noqa: PLW2901
237+
parsed_content_type = get_content_type(content_type) # noqa: PLW2901
238238

239-
if content_type == "application/octet-stream":
239+
if parsed_content_type == "application/octet-stream":
240240
binary_body = schema
241241
break
242242

0 commit comments

Comments
 (0)