Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Mar 6, 2020
1 parent 297aaf4 commit 54b78a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions synapse/handlers/e2e_room_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ def upload_room_keys(self, user_id, version, room_keys):
if not isinstance(room_key["is_verified"], bool):
msg = (
"is_verified must be a boolean in keys for session %s in"
"room %s"
% (session_id, room_id)
"room %s" % (session_id, room_id)
)
raise SynapseError(400, msg, Codes.INVALID_PARAM)

Expand Down

0 comments on commit 54b78a0

Please sign in to comment.