Remove unused variables

This commit is contained in:
Erik Johnston 2017-06-26 14:03:27 +01:00
parent e3cbec10c1
commit 1bce3e6b35
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ class MessageHandler(BaseHandler):
# Ensure that we can round trip before trying to persist in db
try:
dump = ujson.dumps(event.content)
load = ujson.loads(dump)
ujson.loads(dump)
except:
logger.exception("Failed to encode content: %r", event.content)
raise