Skip to content

error #9

Open
Open

Description

@pengwon

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

Activity

  1. richicodes commented on Aug 5, 2021

    @richicodes

    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.

  2. samuelh2005 commented on Aug 18, 2021

    @samuelh2005

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions