Commit 9365d838 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf Committed by Vincent A

[cmso] Fix python3 compatibility (missing parts)

parent 7b6cd43f
......@@ -232,7 +232,7 @@ class CmsoParBrowser(LoginBrowser, StatesMixin):
return iter([])
if account.type == Account.TYPE_LIFE_INSURANCE:
url = json.loads(['url']
url = json.loads(['url']
url = self.location(url).page.get_link("opérations")
return self.location(url).page.iter_history()
......@@ -239,7 +239,7 @@ class AccountsPage(LoggedPage, JsonPage):
def get_lifenumber(self):
index = Dict('index')(self)
data = json.loads(
data = json.loads(
if not data:
raise SkipItem('account seems unavailable')
url = data['url']
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