diff --git a/modules/boursorama/pages/account_history.py b/modules/boursorama/pages/account_history.py index 87cc51fe..57323094 100644 --- a/modules/boursorama/pages/account_history.py +++ b/modules/boursorama/pages/account_history.py @@ -60,7 +60,7 @@ class AccountHistory(BasePage): try: _id = tr.xpath('.//input[@type="hidden"]')[0].attrib['id'].split('_')[1] - except KeyError: + except (KeyError,IndexError): _id = 0 operation = Transaction(_id)