]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Set decoupled on response code 3955 (#181)
authorSebastian Raß <43568284+sebira@users.noreply.github.com>
Tue, 7 Jan 2025 16:05:24 +0000 (17:05 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2025 16:05:24 +0000 (17:05 +0100)
fints/dialog.py

index 0c97daf7f7f4bee94ec6cdb2d1950e41523b22f2..e1f66aa0984529e2f622dd92aeccc63ee8da8237 100644 (file)
@@ -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: