fsb: Fixed another bankid bug.
[fulbank.git] / fulbank / fsb.py
index c7af807..145de7b 100644 (file)
@@ -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)