Remove unnecessary str()

This commit is contained in:
David Baker 2018-11-09 11:11:31 +00:00 committed by Andrew Morgan
parent e750d031c8
commit daf28668d0

View file

@ -146,7 +146,7 @@ class E2eRoomKeysHandler(object):
else: else:
raise raise
if str(version_info['version']) != version: if version_info['version'] != version:
# Check that the version we're trying to upload actually exists # Check that the version we're trying to upload actually exists
try: try:
version_info = yield self.store.get_e2e_room_keys_version_info( version_info = yield self.store.get_e2e_room_keys_version_info(