mirror of
https://github.com/chatmail/relay.git
synced 2026-05-14 18:04:38 +00:00
lint: fix issues
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user