diff --git a/banking/ebics/manager.py b/banking/ebics/manager.py index cc796f5..5f75685 100644 --- a/banking/ebics/manager.py +++ b/banking/ebics/manager.py @@ -139,7 +139,12 @@ def download_intraday_transactions(self) -> "Iterator[CAMTDocument]": from fintech.sepa import CAMTDocument client = self.get_client() - camt52 = client.C52() + + try: + camt52 = client.C52() + except fintech.ebics.EbicsNoDataAvailable: + return + for name in sorted(camt52): yield CAMTDocument(xml=camt52[name])