Skip to content

Commit 3a51cb4

Browse files
committed
check email id string has @ sign
1 parent b51f04e commit 3a51cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/somesy/pyproject/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def validate_email_format(cls, v):
149149
validated.append(author)
150150
else:
151151
logger.warning(f"Same person {author} is added multiple times.")
152-
elif " " in author and EMailAddress.validate_python(
152+
elif "@" in author and EMailAddress.validate_python(
153153
author.split(" ")[-1][1:-1]
154154
):
155155
validated.append(author)

0 commit comments

Comments
 (0)