Skip to content

Commit

Permalink
fix: handle EbicsNoDataAvailable for C52
Browse files Browse the repository at this point in the history
(cherry picked from commit f527ba4)
  • Loading branch information
barredterra authored and mergify[bot] committed Dec 17, 2024
1 parent f37a6b5 commit b607b48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion banking/ebics/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit b607b48

Please sign in to comment.