未验证 提交 d026dbfc 编写于 作者: M Maria Khrustaleva 提交者: GitHub

Fix issue azure.core.exceptions.ResourceExistsError: The specified blob already exists. (#6082)

上级 091a035e
......@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Tracking of multiple objects (30 and more) with TransT tracker
(<https://github.com/opencv/cvat/pull/6073>)
- The issue azure.core.exceptions.ResourceExistsError: The specified blob already exists (<https://github.com/opencv/cvat/pull/6082>)
### Security
- TDB
......
......@@ -463,7 +463,7 @@ class AzureBlobContainer(_CloudStorage):
@validate_bucket_status
def upload_fileobj(self, file_obj, file_name):
self._container_client.upload_blob(name=file_name, data=file_obj)
self._container_client.upload_blob(name=file_name, data=file_obj, overwrite=True)
def upload_file(self, file_path, file_name=None):
if not file_name:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册