summaryrefslogtreecommitdiff
path: root/templates/__init__.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2021-06-09 18:17:27 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2021-06-09 18:17:27 +0200
commit7c13b1038482d68c2ab581dad16fa81c0a09034e (patch)
tree9e7ac314c1766a560e8d17c3864095c1540a62fc /templates/__init__.py
parent17c60d0bdf2948a8c55717b34d3231df7cbc141d (diff)
file_storage.s3: Fix deleting object on file_add error
Make sure obj is returned from upload_file so that we can delete it if add_file raises an exception.
Diffstat (limited to 'templates/__init__.py')
0 files changed, 0 insertions, 0 deletions