From f6c4e5cd89cab9f7b9a41accbbe2f95036770501 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sun, 3 Nov 2024 16:04:33 +0100 Subject: [PATCH] Fix system ID handling --- fints/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints/client.py b/fints/client.py index 57d2c4d..aca9606 100644 --- a/fints/client.py +++ b/fints/client.py @@ -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: