From 83717fc220ad4167868d9cb383d12c09d99cc356 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 03:52:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/flask/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flask/app.py b/src/flask/app.py index f6c6e9c5..a53572dd 100644 --- a/src/flask/app.py +++ b/src/flask/app.py @@ -523,8 +523,8 @@ class Flask(Scaffold): # Note we do this without checking if static_folder exists. # For one, it might be created while the server is running (e.g. during # development). Also, Google App Engine stores static files somewhere""" - - + + if self.has_static_folder: assert ( bool(static_host) == host_matching