Skip to content

Commit

Permalink
make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Mar 6, 2024
1 parent c4d80fd commit d8ab8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicale/auth/htpasswd.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _plain(self, hash_value: str, password: str) -> bool:
return hmac.compare_digest(hash_value.encode(), password.encode())

def _bcrypt(self, bcrypt: Any, hash_value: str, password: str) -> bool:
return bcrypt.checkpw(password = password.encode('utf-8'), hashed_password = hash_value.encode())
return bcrypt.checkpw(password=password.encode('utf-8'), hashed_password=hash_value.encode())

def _md5apr1(self, hash_value: str, password: str) -> bool:
return apr_md5_crypt.verify(password, hash_value.strip())
Expand Down

0 comments on commit d8ab8aa

Please sign in to comment.