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

error #9

Open
pengwon opened this issue Jul 9, 2021 · 2 comments
Open

error #9

pengwon opened this issue Jul 9, 2021 · 2 comments

Comments

@pengwon
Copy link

pengwon commented Jul 9, 2021

bp = Blueprint(__name__, 'home')
python3.8 win10 will report error,‘Blueprint(‘home’, name)’ will be OK

@richicodes
Copy link

richicodes commented Aug 5, 2021

Made a pull request for this fix (#10 ). Prevents the following error in python 3.9:
raise ValueError("'name' may not contain a dot '.' character.") ValueError: 'name' may not contain a dot '.' character.

@ajh123
Copy link

ajh123 commented Aug 18, 2021

Just swap so

bp = Blueprint('home',  __name__)

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

3 participants