Skip to content

Commit fe81f0b

Browse files
committed
CI: cmdeploy fmt
1 parent e3cc53e commit fe81f0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

chatmaild/src/chatmaild/doveauth.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ def encrypt_password(password: str):
2424
def is_allowed_to_create(config: Config, user, cleartext_password) -> bool:
2525
"""Return True if user and password are admissable."""
2626
if os.path.exists(NOCREATE_FILE):
27-
logging.warning(
28-
f"blocked account creation because {NOCREATE_FILE!r} exists."
29-
)
27+
logging.warning(f"blocked account creation because {NOCREATE_FILE!r} exists.")
3028
return False
3129
password_length = len(cleartext_password)
3230
if config.invite_token:
@@ -36,7 +34,7 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool:
3634
break
3735
else:
3836
logging.warning(
39-
f"blocked account creation because password didn't contain invite token(s)."
37+
"blocked account creation because password didn't contain invite token(s)."
4038
)
4139
return False
4240

0 commit comments

Comments
 (0)