]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Fix for real
authorRaphael Michel <michel@rami.io>
Mon, 4 Nov 2024 15:12:15 +0000 (16:12 +0100)
committerRaphael Michel <michel@rami.io>
Mon, 4 Nov 2024 15:12:15 +0000 (16:12 +0100)
fints/__init__.py
fints/client.py

index 29e89e4352a3040d0374e7505616720a77055e49..41d30e43b7420272ab1d03ec259dec803a9df2ee 100644 (file)
@@ -1 +1 @@
-version = '4.2.1'
+version = '4.2.2'
index a8c9efffd6e318058dd5f1dcc262daf45554d462..13400eb6b38cc27cd42fddf60f2dda0fe6d89487 100644 (file)
@@ -540,7 +540,7 @@ class FinTS3Client:
                 ),
                 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 and seg.statement_pending else [])
+                    ([seg.statement_pending.decode('iso-8859-1') for seg in responses if seg.statement_pending] if include_pending else [])
             )),
                 'HIKAZ',
                 # Note 1: Some banks send the HIKAZ data in arbitrary splits.