Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'issue-10948' of https://github.com/goDeni/swagger-codegen
… into goDeni-issue-10948
  • Loading branch information
HugoMario committed Mar 28, 2021
2 parents 7d8ec67 + 04f4118 commit 4c0234e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -540,7 +540,7 @@ class ApiClient(object):
content_disposition).group(1)
path = os.path.join(os.path.dirname(path), filename)

with open(path, "wb") as f:
with open(path, "w") as f:
f.write(response.data)

return path
Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/python/.swagger-codegen/VERSION
@@ -1 +1 @@
2.4.19-SNAPSHOT
2.4.20-SNAPSHOT
2 changes: 1 addition & 1 deletion samples/client/petstore/python/petstore_api/api_client.py
Expand Up @@ -534,7 +534,7 @@ def __deserialize_file(self, response):
content_disposition).group(1)
path = os.path.join(os.path.dirname(path), filename)

with open(path, "wb") as f:
with open(path, "w") as f:
f.write(response.data)

return path
Expand Down

0 comments on commit 4c0234e

Please sign in to comment.