Dolda2000 GitWeb
/
fulbank.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsb: Fixed another bankid bug.
[fulbank.git]
/
fulbank
/
fsb.py
diff --git
a/fulbank/fsb.py
b/fulbank/fsb.py
index
c7af807
..
145de7b
100644
(file)
--- 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
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 == "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)
else:
raise fmterror("unexpected bankid status: " + str(st))
time.sleep(3)