Merge "Accept alternative email addresses."
am: 0b14739e0f
Change-Id: I32c6c40c84796601dbd7392c14175c3bda7aa920
This commit is contained in:
commit
6dfe4bc16a
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ def find_address(address):
|
|||
+ urllib.quote(address))
|
||||
echo('Checking email address: ' + address)
|
||||
result = urllib2.urlopen(request).read()
|
||||
expected = '"email": "' + address + '"'
|
||||
checked_addresses[address] = (result.find(expected) >= 0)
|
||||
checked_addresses[address] = (
|
||||
result.find('"email":') >= 0 and result.find('"_account_id":') >= 0)
|
||||
return checked_addresses[address]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue