Skip to content

Commit

Permalink
Fix system ID handling
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Nov 3, 2024
1 parent aa1557d commit f6c4e5c
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 @@ -1207,7 +1207,7 @@ def _new_dialog(self, lazy_init=False):
)

def fetch_tan_mechanisms(self):
if self.system_id and not self.get_current_tan_mechanism():
if (self.system_id and self.system_id != SYSTEM_ID_UNASSIGNED) and not self.get_current_tan_mechanism():
# system_id was persisted and given to the client, but nothing else
self.set_tan_mechanism('999')
with self._get_dialog(lazy_init=True) as dialog:
Expand Down

0 comments on commit f6c4e5c

Please sign in to comment.