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

Fix no encoding declared error in python2.7 #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jxltom
Copy link

@jxltom jxltom commented Apr 23, 2020

There are non ascii characters in

# 修复celery的错误,参考https://github.com/celery/celery/issues/3623
, this will raise SyntaxError: Non-ASCII character '\xe4' in file /app/.heroku/python/lib/python2.7/site-packages/jpush/common.py on line 84, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details error in python2.7.

This PR fixes this.

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.

1 participant