🐛 don't actually clear out the check list lol

This commit is contained in:
Joe Kaufeld 2024-10-29 23:32:02 -04:00
parent 98ca09b681
commit dca1b89b39

View file

@ -30,7 +30,7 @@ class SpiderwebMiddleware:
# If there are any startup checks that need to be run, they should be added
# to this list. These checks should be classes that inherit from
# spiderweb.server_checks.ServerCheck.
self.checks: list[ServerCheck] = []
self.checks: list[ServerCheck]
def process_request(self, request: Request) -> HttpResponse | None:
# This method is called before the request is passed to the view. You can safely