From 2e31536f26d4353ecc8a601a9130bbeccb598c11 Mon Sep 17 00:00:00 2001 From: ruttenb Date: Mon, 4 Mar 2024 14:17:39 -0500 Subject: [PATCH] run black --- history/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history/middleware.py b/history/middleware.py index a51fe88..b1d744a 100644 --- a/history/middleware.py +++ b/history/middleware.py @@ -22,7 +22,7 @@ def __init__(self, get_response=None): def __call__(self, request): create_history = True for prefix in conf.MIDDLEWARE_IGNORE: - if prefix and prefix != '/' and request.path.startswith(prefix): + if prefix and prefix != "/" and request.path.startswith(prefix): create_history = False if create_history: