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

修复主题不能正常使用问题 #682

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

youguanxinqing
Copy link

缘由

问题1:
Python3 中 content.text 返回为 str 类型,不需要 deocode。

问题2:

content = content.text.decode()
watch_themes = json.loads(content.text)['themes']

content 被重新赋值,已经没有 text 属性

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.

None yet

1 participant