%s for strings otherwise you end up sending 'u"foo"'

This commit is contained in:
David Baker 2015-02-24 15:00:12 +00:00
parent c0aaf9fe76
commit 443ba4eecc

View File

@ -160,7 +160,7 @@ class DirectoryHandler(BaseHandler):
if not room_id:
raise SynapseError(
404,
"Room alias %r not found" % (room_alias.to_string(),),
"Room alias %s not found" % (room_alias.to_string(),),
Codes.NOT_FOUND
)