Skip to content

Commit

Permalink
Update syntax to be compliant with new black version
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksihakli committed Mar 4, 2024
1 parent 92f038e commit dbd16dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions axes/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ def initialize(cls):
else:
mode = "blocking by " + " or ".join(
[
param
if isinstance(param, str)
else "combination of " + " and ".join(param)
(
param
if isinstance(param, str)
else "combination of " + " and ".join(param)
)
for param in settings.AXES_LOCKOUT_PARAMETERS
]
)
Expand Down

0 comments on commit dbd16dd

Please sign in to comment.