summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-02-24 15:00:12 +0000
committerDavid Baker <dave@matrix.org>2015-02-24 15:00:12 +0000
commit443ba4eecc59e3dbddfaf5b925408b40e3581800 (patch)
treef2dc3709dc643184368f05d022ac61d13250e0b7 /synapse/handlers/directory.py
parentMerge pull request #89 from matrix-org/registration-fallback (diff)
downloadsynapse-443ba4eecc59e3dbddfaf5b925408b40e3581800.tar.xz
%s for strings otherwise you end up sending 'u"foo"'
Diffstat (limited to '')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index 20ab9e269c..11d20a5d2d 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -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
             )