Skip to content

Commit

Permalink
update to 1.8.6.34 (#304)
Browse files Browse the repository at this point in the history
* probe bug fixed

* update to 1.8.6.34

---------

Co-authored-by: lewzylu(卢众意) <[email protected]>
  • Loading branch information
lewzylu and lewzylu(卢众意) authored Nov 21, 2023
1 parent 212a7c0 commit af77f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coscmd/cos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ def download_file(self, cos_path, local_path, _http_headers='{}', **kwargs):
os.makedirs(dir_path, 0o755)
except Exception as e:
pass
if kwargs["versionId"] != "":
if ("versionId" in kwargs) and (kwargs["versionId"] != ""):
_http_headers["VersionId"] = kwargs["versionId"]
if file_size <= self._multidownload_threshold:
try:
Expand Down
2 changes: 1 addition & 1 deletion coscmd/cos_global.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Version = "1.8.6.33"
Version = "1.8.6.34"

0 comments on commit af77f48

Please sign in to comment.