Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Dec 11, 2023
1 parent b1c71e8 commit a8c4063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aa_project/settings/pytest/pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def salt(self):
return ""

def encode(self, password, salt):
return "dumb$$%s" % password
return f"dumb$${password}"

def verify(self, password, encoded):
algorithm, hash = encoded.split("$$", 1)
Expand Down

0 comments on commit a8c4063

Please sign in to comment.