• Damien Mat's avatar
    [fortuneo] Avoid handle_sms() after an ActionNeeded · 03172003
    Damien Mat authored
    An action needed can happen during the handle_sms,
    but self.sms_form will have been re-initiated to None while the user resolve it,
    and the OTP will already been submitted and accepted by the server.
    So, to avoid running handle_sms a second time, we check if self.sms_form is present;
    when not, we fall back to init_login, where the SCA won't be triggered.
    This avoids a "'NoneType' object does not support item assignment"
    error.
    03172003
Name
Last commit
Last update
.ci Loading commit data...
.gitlab/issue_templates Loading commit data...
contrib Loading commit data...
docs Loading commit data...
icons Loading commit data...
man Loading commit data...
modules Loading commit data...
tools Loading commit data...
weboob Loading commit data...
woob Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
MANIFEST.in Loading commit data...
MANIFEST.in.modules Loading commit data...
README.md Loading commit data...
build.mk Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...