use static IDs of accounts

This commit is contained in:
Romain Bignon 2012-07-30 15:51:04 +02:00
commit 5f9536f61d
3 changed files with 7 additions and 8 deletions

View file

@ -95,7 +95,7 @@ class Ing(BaseBrowser):
elif account.label[0:2] == "LA":
# we want "displayTRHistoriqueLA" but this fucking page
# is not directly available...
self.location('https://secure.ingdirect.fr/general?command=goToAccount&account=%d&zone=COMPTE' % int(id))
self.location('https://secure.ingdirect.fr/general?command=goToAccount&account=%d&zone=COMPTE' % int(account._index))
else:
raise NotImplementedError()
while 1: