From cec57e4ed6854d9a774a09a28af5fa21a1fd882b Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sat, 26 Mar 2022 12:04:33 +0100 Subject: [PATCH] Fix documentation error in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `HTMLMIN.init_app(app)` doesn’t work because it’s an instance method, not a class one. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3870400..f830ad8 100644 --- a/README.md +++ b/README.md @@ -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: