La ligne 11 : url += "%s" % self.session.url provoque l'erreur local variable 'url' referenced before assignment
=> url = "%s" % self.session.url
Voici la trace complète :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/creditagricole_particuliers/logout.py", line 7, in __init__
self.logout()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/creditagricole_particuliers/logout.py", line 11, in logout
url += "%s" % self.session.url
UnboundLocalError: local variable 'url' referenced before assignment
Bonjour,
dans la classe Logout :
La ligne 11 : url += "%s" % self.session.url provoque l'erreur local variable 'url' referenced before assignment
=> url = "%s" % self.session.url
Voici la trace complète :