浏览代码

[s3] Skip throwing S3ConnectorUploadError from scheme check method (#4255)

Harsh Gupta 2 月之前
父节点
当前提交
18198542af
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      desktop/core/src/desktop/lib/fs/s3/core/upload.py

+ 0 - 2
desktop/core/src/desktop/lib/fs/s3/core/upload.py

@@ -209,6 +209,4 @@ class S3ConnectorUploadHandler(FileUploadHandler):
     if self.destination:
       if "://" in self.destination:
         return self.destination.split("://")[0].upper()
-      else:
-        raise S3ConnectorUploadError("Destination does not have a valid scheme")
     return None