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

修改空返回值是空generator的处理,避免出现StopIteration错误 #247

Merged
merged 1 commit into from
Apr 2, 2019
Merged

修改空返回值是空generator的处理,避免出现StopIteration错误 #247

merged 1 commit into from
Apr 2, 2019

Conversation

MiderWong
Copy link
Contributor

1、WechatSogouStructuring.get_gzh_by_search返回结果是空list时,生成的generator也为空,使用next会提示StopIteration错误
2、get_gzh_info调用search_gzh时,加入参数decode_url传入

@chyroc chyroc merged commit f3a58d2 into chyroc:master Apr 2, 2019
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

Successfully merging this pull request may close these issues.

2 participants