diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 17:17:11 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 17:17:11 +0100 |
commit | d4145abd335135407128684022f4561840234b81 (patch) | |
tree | 5231d140f06212621ac8adfb176497de5fa4534b | |
parent | Move the *EventSource classes into the handlers they relate to, so it's easie... (diff) | |
download | synapse-d4145abd335135407128684022f4561840234b81.tar.xz |
Use str.join() properly
-rw-r--r-- | synapse/types.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/types.py b/synapse/types.py index 63154855dd..abc3031eae 100644 --- a/synapse/types.py +++ b/synapse/types.py @@ -115,9 +115,8 @@ class StreamToken( raise SynapseError(400, "Invalid Token") def to_string(self): - return "".join([ + return self._SEPARATOR.join([ str(self.events_key), - self._SEPARATOR, str(self.presence_key), ]) |