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

'NoneType' object is not subscriptable 怎么解决呢? #8

Closed
liangyongrui opened this issue Jan 17, 2019 · 1 comment
Closed

'NoneType' object is not subscriptable 怎么解决呢? #8

liangyongrui opened this issue Jan 17, 2019 · 1 comment

Comments

@liangyongrui
Copy link

正在为您第1次刷票,当前时间为:2019-01-17 17:02:40
K589 硬卧: 1
已为您查询到可用余票:[车次:K589,出发站:北京西,到达站:华蓥,出发时间:10:30,到达时间:13:36]

'NoneType' object is not subscriptable

第312次访问12306网站

Uploading image.png…

@V-I-C-T-O-R
Copy link
Owner

@liangyongrui 这个估计是长时间刷票之后,偶然12306出现的bad response问题。你可以调试一下在对应的代码出多加几个捕获或判断,借以避免出现这种提示

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