[cic] 'Account' object has no attribute 'ownership'
I have the following backtrace when accessing cic
account.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/weboob/tools/application/base.py", line 310, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/compta/.local/share/weboob/modules/1.5/creditmutuel/module.py", line 69, in get_account
account = self.browser.get_account(_id)
File "/home/compta/.local/share/weboob/modules/1.5/creditmutuel/browser.py", line 297, in get_account
for a in self.get_accounts_list():
File "/usr/local/lib/python3.7/site-packages/weboob/browser/browsers.py", line 798, in inner
return func(browser, *args, **kwargs)
File "/home/compta/.local/share/weboob/modules/1.5/creditmutuel/browser.py", line 290, in get_accounts_list
self.ownership_guesser()
File "/home/compta/.local/share/weboob/modules/1.5/creditmutuel/browser.py", line 200, in ownership_guesser
account.ownership = account.parent.ownership
File "/usr/local/lib/python3.7/site-packages/weboob/capabilities/base.py", line 495, in __getattr__
self.__class__.__name__, name))
AttributeError: 'Account' object has no attribute 'ownership'
It seems it is the ownership_guesser()
addition in creditmutuel
module (used by cic
module) that broke things.