From 1593742ce239a059a29177b52361955df771fe7c Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Wed, 6 Mar 2024 22:46:07 +0100 Subject: [PATCH] make flake8 happy --- radicale/auth/htpasswd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/auth/htpasswd.py b/radicale/auth/htpasswd.py index dbc40b91..67c9b769 100644 --- a/radicale/auth/htpasswd.py +++ b/radicale/auth/htpasswd.py @@ -88,7 +88,7 @@ class Auth(auth.BaseAuth): 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())