Commit 93ddb75f authored by Jerome Berthier's avatar Jerome Berthier Committed by Vincent A

[cragr] fix pyflakes

parent 4806a2fc
......@@ -127,7 +127,6 @@ class CragrAPI(LoginBrowser):
# Wrongpass returns a 500 server error...
exc_json = exc.response.json()
error = exc_json.get('error')
error_type = exc_json.get('erreurType')
if error:
message = error.get('message', '')
wrongpass_messages = ("Votre identification est incorrecte", "Vous n'avez plus droit")
......
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