From 86601bc0ad178d310260fa81ff987cf8a12bf383 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 13 Nov 2020 21:42:03 +0100 Subject: [PATCH] fsb: Added support for OUTSTANDING_TRANSACTION bankid status. --- fulbank/fsb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fulbank/fsb.py b/fulbank/fsb.py index c7af807..44a4849 100644 --- a/fulbank/fsb.py +++ b/fulbank/fsb.py @@ -257,6 +257,8 @@ class session(object): return elif st == "CANCELLED": raise autherror("authentication cancelled") + elif st == "OUTSTANDING_TRANSACTION": + raise autherror("another bankid transaction already in progress") else: raise fmterror("unexpected bankid status: " + str(st)) time.sleep(3) -- 2.11.0