From 16e7ff70f895fbfe95651e9a98ceffa59d322e79 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 23 Nov 2021 15:53:24 +0100 Subject: [PATCH] fix upload render issue (#304) --- matrix/uploads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/uploads.py b/matrix/uploads.py index 5757c60..05beb1c 100644 --- a/matrix/uploads.py +++ b/matrix/uploads.py @@ -214,7 +214,7 @@ class Upload(object): self.file_keys["key"]["k"], self.file_keys["hashes"]["sha256"], 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)