Skip to content

Commit

Permalink
Merge pull request #100 from dt3310321/s3
Browse files Browse the repository at this point in the history
compatible get object on Win-Platform
  • Loading branch information
dt3310321 authored Nov 4, 2019
2 parents 86addc0 + f86c961 commit 9243bde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions qcloud_cos/streambody.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ def get_stream_to_file(self, file_name, auto_decompress=False):
if os.path.exists(tmp_file_name):
os.remove(tmp_file_name)
raise IOError("download failed with incomplete file")
if os.path.exists(file_name):
os.remove(file_name)
os.rename(tmp_file_name, file_name)
2 changes: 1 addition & 1 deletion qcloud_cos/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '5.1.7.4'
__version__ = '5.1.7.5'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def long_description():

setup(
name='cos-python-sdk-v5',
version='1.7.4',
version='1.7.5',
url='https://www.qcloud.com/',
license='MIT',
author='tiedu, lewzylu, channingliu',
Expand Down

0 comments on commit 9243bde

Please sign in to comment.