X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=fulbank%2Ffsb.py;h=145de7b3364c5dba8d7c13c871d08692cefac0d6;hb=3851cd1b9f5e758d8d22bb51c0dde9624d05e9d9;hp=c7af807a5ecd4d554cfaed28c8a82c7a6202dfbc;hpb=8cda37c591cee501f0a79efe9728950c9929637f;p=fulbank.git diff --git a/fulbank/fsb.py b/fulbank/fsb.py index c7af807..145de7b 100644 --- a/fulbank/fsb.py +++ b/fulbank/fsb.py @@ -251,12 +251,13 @@ class session(object): if st != fst: conv.message("Status: %s" % (st,), auth.conv.msg_info) fst = st - continue elif st == "COMPLETE": self._postlogin() 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)