Skip to content

Commit

Permalink
Fix documentation error in README
Browse files Browse the repository at this point in the history
`HTMLMIN.init_app(app)` doesn’t work because it’s an instance method, not a class one.
  • Loading branch information
bfontaine authored Mar 26, 2022
1 parent 8ea133b commit cec57e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ app = Flask(__name__)
app.config['MINIFY_HTML'] = True

htmlmin = HTMLMIN(app)
# or you can use HTMLMIN.init_app(app)
# or you can use HTMLMIN().init_app(app)
# pass additional parameters to htmlmin
# HTMLMIN(app, **kwargs)
# example:
Expand Down

0 comments on commit cec57e4

Please sign in to comment.