mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 12:14:29 +03:00
black
This commit is contained in:
parent
d081883f1e
commit
72fb8ac9c8
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ class E2eRoomKeysHandler(object):
|
|||
with (yield self._upload_linearizer.queue(user_id)):
|
||||
# make sure the backup version exists
|
||||
try:
|
||||
version_info = yield self.store.get_e2e_room_keys_version_info(user_id, version)
|
||||
version_info = yield self.store.get_e2e_room_keys_version_info(
|
||||
user_id, version
|
||||
)
|
||||
except StoreError as e:
|
||||
if e.code == 404:
|
||||
raise NotFoundError("Unknown backup version")
|
||||
|
|
Loading…
Reference in a new issue