Explorar o código

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

Harsh Gupta hai 2 meses
pai
achega
18198542af
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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