0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 00:03:51 +01:00

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(