Commit db750990 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by hydrargyrum

[ganassurances] Made module Python3 compatible

parent 5c561875
......@@ -40,7 +40,7 @@ from weboob.browser.filters.json import Dict
class LoginPage(HTMLPage):
def login(self, login, passwd):
tab = re.search(r'clavierAChristian = (\[[\d,\s]*\])', self.content).group(1)
tab = re.search(r'clavierAChristian = (\[[\d,\s]*\])', self.text).group(1)
number_list = ast.literal_eval(tab)
key_map = {}
for i, number in enumerate(number_list):
......
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