Skip to content

Commit 19848fd

Browse files
authored
README: remove unset excessive config_filename in "How to start?" (#155)
`config_filename` is left in the app factory definition but it is not provided in the fixture in both this section and "Getting started" (in "docs")
1 parent da63251 commit 19848fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ Considering the minimal flask `application factory`_ below in ``myapp.py`` as an
7474
7575
from flask import Flask
7676
77-
def create_app(config_filename):
77+
def create_app():
7878
# create a minimal app
7979
app = Flask(__name__)
80-
app.config.from_pyfile(config_filename)
8180
8281
# simple hello world view
8382
@app.route('/hello')

0 commit comments

Comments
 (0)