diff options
author | David Baker <dave@matrix.org> | 2018-11-09 11:11:31 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-02-13 14:24:42 +0000 |
commit | daf28668d0ef66a3076e91917b5f1e6b0eee766e (patch) | |
tree | e3cbb1e9297eb4e62ce065afc6c97a0420ff7282 | |
parent | Cast to int here too (diff) | |
download | synapse-daf28668d0ef66a3076e91917b5f1e6b0eee766e.tar.xz |
Remove unnecessary str()
-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 abb0e98e42..42b040375f 100644 --- a/synapse/handlers/e2e_room_keys.py +++ b/synapse/handlers/e2e_room_keys.py @@ -146,7 +146,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( |