python-fints
python-fints copied to clipboard
Add optional TAN medium field to constructor of FinTS3PinTanClient (fix #121, #106)
As detailed in my comment on #121, this pull request is a tiny hotfix which allows users to manually set a TAN medium when initializing a new FinTS3PinTanClient. Ideally, we would build a better solution that automatically requests TAN media and sets it directly if there is only one available (I suspect this is the case for the vast majority of users). Nonetheless, this is a very quick and dirty fix to at least allow library users to control the TAN medium manually and avoid errors on initialization.
This fixes issues #121 and #106.