From 8ab4de955a56b7732ff4aa615f4c1615d1f73208 Mon Sep 17 00:00:00 2001 From: Jakob Hildebrand Date: Mon, 24 Apr 2023 01:10:46 +0200 Subject: [PATCH] add optional tan_medium named parameter to PinTanClient --- fints/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fints/client.py b/fints/client.py index 3273072..8a27a59 100644 --- a/fints/client.py +++ b/fints/client.py @@ -1101,13 +1101,13 @@ def _parse_tan_challenge(self): class FinTS3PinTanClient(FinTS3Client): - def __init__(self, bank_identifier, user_id, pin, server, customer_id=None, *args, **kwargs): + def __init__(self, bank_identifier, user_id, pin, server, customer_id=None, tan_medium=None, *args, **kwargs): self.pin = Password(pin) if pin is not None else pin self._pending_tan = None self.connection = FinTSHTTPSConnection(server) self.allowed_security_functions = [] self.selected_security_function = None - self.selected_tan_medium = None + self.selected_tan_medium = tan_medium self._bootstrap_mode = True super().__init__(bank_identifier=bank_identifier, user_id=user_id, customer_id=customer_id, *args, **kwargs)