Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
ruttenb committed Mar 4, 2024
1 parent 0b83500 commit 2e31536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion history/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e31536

Please sign in to comment.