diff --git a/modules/creditmutuel/browser.py b/modules/creditmutuel/browser.py index 8b7ba663f1bee2a0f6354182848a1136ac49b975..dbf2f4f5c0e2422dd1ae1b5488167d2f9176de6d 100644 --- a/modules/creditmutuel/browser.py +++ b/modules/creditmutuel/browser.py @@ -312,8 +312,11 @@ def list_operations(self, page, account): form.pop(k, None) form.submit() # IndexError when form xpath returns [], StopIteration if next called on empty iterable - except (IndexError, StopIteration, FormNotFound): + except (StopIteration, FormNotFound): self.logger.warning('Could not get history on new website') + except IndexError: + # 6 months history is not available + pass while self.page: try: