Skip to content

Commit

Permalink
Add optional TAN medium field to constructor of FinTS3PinTanClient (fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JHthe4 authored Oct 26, 2024
1 parent 435fe18 commit 70dc1d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fints/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1125,13 +1125,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)

Expand Down

0 comments on commit 70dc1d6

Please sign in to comment.