Skip to content
Snippets Groups Projects
Commit 0af58f14 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

fix pep8

parent 81d037db
No related branches found
No related tags found
No related merge requests found
......@@ -68,8 +68,7 @@ def check_3pid_allowed(hs, medium, address):
for constraint in hs.config.registrations_require_3pid:
logger.debug("Checking 3PID %s (%s) against %s (%s)" % (
address, medium, constraint['pattern'], constraint['medium']
)
)
))
if (
medium == constraint['medium'] and
re.match(constraint['pattern'], address)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment