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

pull/91/head
David Baker 2015-02-24 15:00:12 +00:00
parent c0aaf9fe76
commit 443ba4eecc
1 changed files with 1 additions and 1 deletions

View File

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