Fix s3 delete.
This commit is contained in:
parent
f1e85bdcba
commit
cbe0590ce5
3 changed files with 4 additions and 4 deletions
|
@ -116,7 +116,7 @@ class S3Storage(Storage):
|
|||
# We assume it's a directory
|
||||
if not path.endswith('/'):
|
||||
path += '/'
|
||||
for key in self._s3_bucket.list(prefix=path, delimiter='/'):
|
||||
for key in self._s3_bucket.list(prefix=path):
|
||||
key.delete()
|
||||
|
||||
def get_size(self, path):
|
||||
|
|
Reference in a new issue