diff --git a/beat/web/common/storage.py b/beat/web/common/storage.py index 01d8111bd75c1e2cc34c2ae3d3888b77da75d39d..c28f8514cd0fd3d6daeab49511919070b1237dbb 100755 --- a/beat/web/common/storage.py +++ b/beat/web/common/storage.py @@ -38,7 +38,7 @@ class OverwriteStorage(FileSystemStorage): def __init__(self, *args, **kwargs): super(OverwriteStorage, self).__init__(*args, **kwargs) - def get_available_name(self, name): + def get_available_name(self, name, max_length=None): # If the filename already exists, remove it if self.exists(name): self.delete(name) return name