Skip to content
Snippets Groups Projects
Commit 1bce3e6b authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove unused variables

parent e3cbec10
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment