fix tuple

Co-Authored-By: neilisfragile <neil@matrix.org>
This commit is contained in:
Richard van der Hoff 2018-10-24 14:39:23 +01:00 committed by GitHub
parent 9f72c209ee
commit 94a49e0636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,8 @@ class RegistrationHandler(BaseHandler):
if self.hs.hostname != room_alias.domain: if self.hs.hostname != room_alias.domain:
logger.warning( logger.warning(
'Cannot create room alias %s, ' 'Cannot create room alias %s, '
'it does not match server domain', (r,) 'it does not match server domain',
r,
) )
else: else:
# create room expects the localpart of the room alias # create room expects the localpart of the room alias