From 7a00dbbcebff073160b7fe54af1b4f705540352b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ra=C3=9F?= <43568284+sebira@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:05:24 +0100 Subject: [PATCH] Set decoupled on response code 3955 (#181) --- fints/dialog.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fints/dialog.py b/fints/dialog.py index 0c97daf..e1f66aa 100644 --- a/fints/dialog.py +++ b/fints/dialog.py @@ -92,8 +92,12 @@ class FinTSDialog: retval.find_segment_first('HITAN'), '_continue_dialog_initialization', self.client.is_challenge_structured(), - resp.code == '3955', + False, ) + if resp.code == '3955': + self.client.init_tan_response.decoupled = True + break + self.need_init = False return retval except Exception as e: -- 2.47.2