lint: fix issues

This commit is contained in:
missytake
2024-01-12 16:24:45 +01:00
parent 10c671ebda
commit 4b9b0f5f44

View File

@@ -46,7 +46,7 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool:
len(localpart) > config.username_max_length
or len(localpart) < config.username_min_length
):
if localpart not in ("echo", "hello"):
if localpart not in ("echo", "hello"):
logging.warning(
"localpart %s has to be between %s and %s chars long",
localpart,