Fixed bug in GoogleCloudStorageBlob.exists()
This commit is contained in:
parent
2ad8c5186c
commit
1c566c6259
@ -182,7 +182,10 @@ class GoogleCloudStorageBlob(Blob):
|
||||
|
||||
def exists(self) -> bool:
|
||||
# Reload to get the actual file properties from Google.
|
||||
self.gblob.reload()
|
||||
try:
|
||||
self.gblob.reload()
|
||||
except NotFound:
|
||||
return False
|
||||
return self.gblob.exists()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user