[go: up one dir, main page]

fix(bank/ccf) iter accounts and account code

work around for bug from #778

Traceback (most recent call last):
   File "/opt/.local/share/woob/modules/3.7/woob_modules/cmso/module.py", line 79, in iter_accounts
     return self.browser.iter_accounts()
            ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
   File "/usr/local/lib/python3.13/site-packages/woob/browser/browsers.py", line 1157, in inner
     return func(browser, *args, **kwargs)
   File "/opt/.local/share/woob/modules/3.7/woob_modules/ccf/browser.py", line 160, in iter_accounts
     account.number = account.iban.account_code
AttributeError: 'str' object has no attribute 'account_code'

code introduced in 5b9fee5e

the work around is pretty dumb but I don't get the the intention from the original patch I post that here only to get a review from @llange, and maybe fix in for the next release Thanks in advance !

Merge request reports

Loading