Multimedia support - Commiting from a not yet finished state - Details below
* DONE Initially testing with arista ** DONE Video display templates *** TODO Multi-browser support ** TODO Video thumbnails ** TODO Link to original video ** TODO Video cropping Also contains a lot of "debug" print's
This commit is contained in:
@@ -97,8 +97,14 @@ class CloudFilesStorage(StorageInterface):
|
||||
def delete_file(self, filepath):
|
||||
# TODO: Also delete unused directories if empty (safely, with
|
||||
# checks to avoid race conditions).
|
||||
self.container.delete_object(
|
||||
self._resolve_filepath(filepath))
|
||||
try:
|
||||
self.container.delete_object(
|
||||
self._resolve_filepath(filepath))
|
||||
except cloudfiles.container.ResponseError:
|
||||
pass
|
||||
finally:
|
||||
pass
|
||||
|
||||
|
||||
def file_url(self, filepath):
|
||||
return '/'.join([
|
||||
|
||||
Reference in New Issue
Block a user