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

Remove unused variables

This commit is contained in:
Erik Johnston 2017-06-26 14:03:27 +01:00
parent e3cbec10c1
commit 1bce3e6b35

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