Use str.join() properly

This commit is contained in:
Paul "LeoNerd" Evans 2014-08-29 17:17:11 +01:00
parent 20d0db6cfb
commit d4145abd33

View file

@ -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),
])