diff options
author | David Baker <dave@matrix.org> | 2018-11-09 11:11:31 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-11-09 11:11:31 +0000 |
commit | d3fa6194f7cce262b39ab27523565ca0e6880263 (patch) | |
tree | 0bb1c1d21c9139b9daed5d6bcff96af72c61a0eb /synapse/handlers | |
parent | Cast to int here too (diff) | |
download | synapse-d3fa6194f7cce262b39ab27523565ca0e6880263.tar.xz |
Remove unnecessary str()
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/e2e_room_keys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py index b6d302cd6b..5edb3cfe04 100644 --- a/synapse/handlers/e2e_room_keys.py +++ b/synapse/handlers/e2e_room_keys.py @@ -138,7 +138,7 @@ class E2eRoomKeysHandler(object): else: raise - if str(version_info['version']) != version: + if version_info['version'] != version: # Check that the version we're trying to upload actually exists try: version_info = yield self.store.get_e2e_room_keys_version_info( |