mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
Remove commas and None, to please pep8
This commit is contained in:
parent
3b082bf3b2
commit
76b7252178
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ def check_3pid_allowed(hs, medium, address):
|
|||
|
||||
# Check if this user is intended to register for this homeserver
|
||||
if (
|
||||
data.get('hs',None) != hs.config.server_name
|
||||
and data.get('shadow_hs',None) != hs.config.server_name
|
||||
data.get('hs') != hs.config.server_name
|
||||
and data.get('shadow_hs') != hs.config.server_name
|
||||
):
|
||||
defer.returnValue(False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue