Fix s3 delete.

This commit is contained in:
yackob03 2013-10-01 14:46:44 -04:00
parent f1e85bdcba
commit cbe0590ce5
3 changed files with 4 additions and 4 deletions

View file

@ -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):