handling account with no history
This commit is contained in:
parent
89cda8fac9
commit
7ef1ffb87c
1 changed files with 4 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ class ProAccountsPage(AccountsPage):
|
|||
for sub in re.findall("'([^']*)'", text):
|
||||
l.append(sub)
|
||||
|
||||
if len(l) == 0:
|
||||
#For account that have no history
|
||||
return None, None
|
||||
|
||||
kind = self.group_dict['kind']
|
||||
url = '/vos-comptes/IPT/appmanager/transac/' + kind + '?_nfpb=true&_windowLabel=portletInstance_18&_pageLabel=page_synthese_v1' + '&_cdnCltUrl=' + "/transacClippe/" + quote(l.pop(0))
|
||||
args = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue