uploads: Fix a typo.

This commit is contained in:
Damir Jelić 2019-10-20 13:31:52 +02:00
parent b26dc838ef
commit a9d6864f3a

View file

@ -84,6 +84,7 @@ class Upload(object):
room_id = attr.ib(type=str)
filepath = attr.ib(type=str)
encrypt = attr.ib(type=bool, default=False)
file_keys = attr.ib(type=Dict, default=None)
done = 0
total = 0
@ -208,7 +209,7 @@ class Upload(object):
if self.encrypt:
return Render.encrypted_media(
self.conetent_uri,
self.content_uri,
self.file_name,
self.file_keys["key"]["k"],
self.file_keys["hashes"]["sha256"],