Fix json encoding bug in replication

json encoders have an encode method, not a dumps method.
pull/14/head
Richard van der Hoff 7 years ago
parent 05630758f2
commit 3ee4ad09eb
  1. 2
      synapse/replication/tcp/commands.py

@ -109,7 +109,7 @@ class RdataCommand(Command):
return " ".join((
self.stream_name,
str(self.token) if self.token is not None else "batch",
_json_encoder.dumps(self.row),
_json_encoder.encode(self.row),
))

Loading…
Cancel
Save