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