The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 60b7d480 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Vincent A

[caissedepargne] python3 compatibility on transfers

parent 695976f8
......@@ -1663,7 +1663,7 @@ class SmsRequestStep(LoggedPage, JsonPage):
class SmsRequest(LoggedPage, JsonPage):
def validate_key(self):
return self.doc['step']['validationUnits'][0].keys()[0]
return list(self.doc['step']['validationUnits'][0].keys())[0]
def validation_id(self, key):
return self.doc['step']['validationUnits'][0][key][0]['id']
......
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