Commit 63ef6b95 authored by Martin Sicot's avatar Martin Sicot Committed by Romain Bignon

[lcl] Fix unavailable RIB for users

Some users do not have acces to their RIB. Fixed it by checking if we
land on 'NoPermission' page before trying to retrieve it.
parent 213ac200
......@@ -229,7 +229,9 @@ class LCLBrowser(LoginBrowser, StatesMixin):
if self.no_perm.is_here():
self.logger.warning('RIB is unavailable.')
self.rib.go(data={'compte': '%s/%s/%s' % ([0:5],[5:11],[11:])})
if self.rib.is_here():
iban =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment