Remove unnecessary str()

This commit is contained in:
David Baker 2018-11-09 11:11:31 +00:00
parent e0934acdbb
commit d3fa6194f7

View File

@ -138,7 +138,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(