Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

程序似乎无法区分签到活动和作业活动 #1

Open
billionray opened this issue Sep 7, 2021 · 2 comments
Open

程序似乎无法区分签到活动和作业活动 #1

billionray opened this issue Sep 7, 2021 · 2 comments

Comments

@billionray
Copy link

马克思主义基本原理------检测到:4个活动。 Traceback (most recent call last): File "./AutoSign.py", line 138, in qiandao(course_dict[currClass][1],address,sleepTime,SENDKEY) File "./AutoSign.py", line 91, in qiandao enc=session.get('https://mobilelearn.chaoxing.com/v2/apis/sign/refreshQRCode?activeId={id}'.format(id=id[0])).json()['data']['enc'] TypeError: 'NoneType' object is not subscriptable Error: Process completed with exit code 1.
其中这四个活动是作业活动,而程序将其视为签到活动并尝试签到,签到失败后报错

@LnYo-Cly
Copy link
Owner

LnYo-Cly commented Sep 8, 2021

已经更新,试试新版

@billionray
Copy link
Author

成功了,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants