support account where name contains the owner
This commit is contained in:
parent
6f95fdd800
commit
1c2ab28382
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ class AccountsList(CragrBasePage):
|
|||
elif self.look_like_account_name(token):
|
||||
required_tokens['account_name'] = token
|
||||
elif self.look_like_account_owner(token):
|
||||
if 'account_owner' in optional_tokens and not 'account_name' in required_tokens:
|
||||
required_tokens['account_name'] = optional_tokens['account_owner']
|
||||
optional_tokens['account_owner'] = token
|
||||
# Step 3: create account objects
|
||||
if len(required_tokens) >= 3:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue