Merge branch 'fix_upload_display'

This commit is contained in:
Damir Jelić 2021-11-23 20:38:00 +01:00
commit 450bfe4082

View file

@ -214,7 +214,7 @@ class Upload(object):
self.file_keys["key"]["k"], self.file_keys["key"]["k"],
self.file_keys["hashes"]["sha256"], self.file_keys["hashes"]["sha256"],
self.file_keys["iv"], self.file_keys["iv"],
mimetype=self.file_keys.get("mimetype"), mime=self.file_keys.get("mimetype"),
) )
return Render.media(self.content_uri, self.file_name) return Render.media(self.content_uri, self.file_name)