Skip to content

error #9

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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__)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants