Skip to content

Commit

Permalink
fix: handle EbicsNoDataAvailable for C52
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Dec 9, 2024
1 parent efe8b02 commit f527ba4
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 @@ -129,7 +129,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 f527ba4

Please sign in to comment.