Unexpected sync check result: window.synccheck={retcode:“1102“,selector:“0“}

使用itchat在windows下一直没有问题,切换到linux第一次登录 正常,第二次扫码登录出错

Login successfully as 
Start auto replying.
Unexpected sync check result: window.synccheck={retcode:"1102",selector:"0"}
LOG OUT!

重复试了多次还是这个问题,最后发现去除了这个就行了:

before:

itchat.auto_login(hotReload=True)

after:

itchat.auto_login()

Windows就没有这个问题,怎么登都不会出问题

你可能感兴趣的:(Python,itchat)