Skip to content

Commit

Permalink
Fix pending transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Nov 4, 2024
1 parent 41b9328 commit 42b86fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fints/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def get_transactions(self, account: SEPAAccount, start_date: datetime.date = Non
),
lambda responses: mt940_to_array(''.join(
[seg.statement_booked.decode('iso-8859-1') for seg in responses] +
([seg.statement_pending.decode('iso-8859-1') for seg in responses] if include_pending else [])
([seg.statement_pending.decode('iso-8859-1') for seg in responses] if include_pending and seg.statement_pending else [])
)),
'HIKAZ',
# Note 1: Some banks send the HIKAZ data in arbitrary splits.
Expand Down

0 comments on commit 42b86fb

Please sign in to comment.