• Yoann Guillard's avatar
    [creditdunord] Encoding issue compatibility python 2/3 · 9223d91f
    Yoann Guillard authored
    when weboob was lauched by python 3, the accounts' id was containing
    bytestring (eg : 123456789b'0'b'1' instead of 12345678901)
    
    this created a new account and deleted the older one
    so when the client wanted to access/actived it, he had an error
    then we switched the client on his new account in the backend,
    but the problem occured again when it forced a synchronisation
    The automatic sync and the forced one do not use the same python version
    
    this issue came from the use of :
    weboob.tools.compat.unicode(my_str).encode('utf-8')
    resolved by :
    weboob.tools.misc.to_unicode(my_str)
    9223d91f
Name
Last commit
Last update
.ci Loading commit data...
.gitlab/issue_templates Loading commit data...
contrib Loading commit data...
desktop 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...
.editorconfig 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...